Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.3: Yet another method of enabling root UNIX
Not quite sure why Apple added this utility, but dsenableroot appears to do just that, and only that. Simply do
 % dsenableroot -u username [-p ] [-r ]
Use a username that has administrative access to the computer. If you leave off the -p or -r switches, it will prompt you for these. Note that since any user with administrative priveledges can do this, you may wish to set your root password before someone else does!

[robg adds: I also don't understand why there's now yet another way to enable the root account ... personally, I haven't enabled the root account since the earliest days of the 10.0 Public Beta -- it's just not necessary for anything that I've ever tried to do...]
  • Currently 1.67 / 5
  You rated: 1 / 5 (6 votes cast)

10.3: Yet another method of enabling root | 3 comments | Create New Account
Click here to return to the '10.3: Yet another method of enabling root' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Yet another method of enabling root
Authored by: gxw on Dec 01, '03 08:32:22PM

I have only have found one thing that requires enabling the root account. SWAT (Samba Web Admin Tool). It wants you to log in as root before it allows you to make config changes.

[ Reply to This | # ]
10.3: Yet another method of enabling root
Authored by: dhirsch226 on Dec 01, '03 11:07:15PM

I recently needed to login as root when trying to change the main account. It is quite tricky to do, because at some point you need to be the account you are trying to change. I ended up stuck, without any account bearing administrator access. I needed to use the boot-from-CD-and-enable-root so I could login as root and make the changes to the main account.

[ Reply to This | # ]
10.3: Yet another method of enabling root
Authored by: zojas on Mar 10, '04 11:03:20PM
I have another reason to use the root account: I wanted to use RsyncX to copy something from the /Library directory on my ibook to my wife's ibook. I needed it to run as root on her ibook so everything would be written with the correct ownership & permissions (and resource forks). her machine is named 'sprite':
sudo rsync -uav --eahfs dir 'root@sprite:/Library/Application\ Support/'
I love rsync!

[ Reply to This | # ]