Root Account troubles

FishBulb

Registered
Hey guys,

I want to remove Classic completely from my system (really low on HDD space and I have no classic apps... pure OS X) and noticed I can't do that without root access.

I went to NetInfo and noticed that my root account was already enabled... but with no idea to what the password is, so I can't enter the previous password in to reset it.

Anyone have any ideas? I haven't done anything to the root account since I did a fresh install a few days ago.

Any help would be great.

Cheers,

FishBulb
 
Are you sure you did a Fresh install. Root isn't enabled by default.

If you want to change the password, do this;

Boot while holding down Command-S

At the command prompt, if you wish you can now run a file system check (fsck) on your hard drive. This step is optional but it only takes a few seconds and is a good idea:
/sbin/fsck -y

Next, you need to mount your drive read/write. When you first boot into single user mode, it is mounted as read only, which is why you can do the file system check above, even though that is your boot disk.

mount -uw /

Run Systemstarter and then get list of users from NetInfo.

/sbin/SystemStarter
niutil -list . /users

Choose your username from the list you got above, and plug it in below where I have the word username.

passwd username

You will be asked to enter a new password twice.

Reboot your computer.
shutdown -r now
 
Back
Top