New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.4 - root password


Post Reply New Thread Subscribe

 
Thread Tools
pirho

 
Member Since: Apr 23, 2007
Posts: 8
pirho is on a distinguished road

pirho is offline
Is the root password (the one used for sudo) the same as the master password?
QUOTE Thanks
RiDE

 
RiDE's Avatar
 
Member Since: Sep 13, 2006
Location: Deep in the heart of Texas!
Posts: 3,559
RiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond repute
Mac Specs: Mac's

RiDE is offline
Yes... it should be the same.
QUOTE Thanks
pirho

 
Member Since: Apr 23, 2007
Posts: 8
pirho is on a distinguished road

pirho is offline
So then if someone has admin access to the box, and forgot the master password this should reset it no?

This is the easiest method if you are more of a CLI person.

1. Log in on the Admin account. (Your normal, every day user account should not have administrative privileges.).

2. Open up a command shell in the Terminal application with
Macintosh HD -> Applications -> Utilities -> Terminal.

At the command prompt type this command:

% sudo passwd root
Enter Password:
Changing password for root
New password:
Verify password:

The first password you are asked for is the already existing password for the Admin account, to prove that you are authorized to make changes on this system. After that, you enter the new root password (twice for verification). That is all, the "superuser" account is now enabled
QUOTE Thanks
RiDE

 
RiDE's Avatar
 
Member Since: Sep 13, 2006
Location: Deep in the heart of Texas!
Posts: 3,559
RiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond repute
Mac Specs: Mac's

RiDE is offline
That should do it... Do not type the "%" (that is just the prompt)...

You can also "reset" the password using the install discs.

You may want to back-up everything.. just in case.
QUOTE Thanks
milessthomas

 
milessthomas's Avatar
 
Member Since: Feb 28, 2007
Location: Charlotte, NC
Posts: 777
milessthomas is a jewel in the roughmilessthomas is a jewel in the roughmilessthomas is a jewel in the rough
Mac Specs: MBP 3.06Ghz, MBP 2.2Ghz, Mini G4, B/W G3 (Media Server), LCII, Beige G3

milessthomas is offline
I believe "ride" is correct that you can reset your root password that way. But the root password is not the same as your admin password in OS X your root password is used for Superuser(sudo) so you don't have to type sudo everytime you use terminal but you do have the correct steps to reset the root password if thats what your attempting to do.

But unless you know what you are doing I would not use the superuser account in terminal and frankly its best to add a standard user account to avoid making system changes that are irreversible.
QUOTE Thanks
milessthomas

 
milessthomas's Avatar
 
Member Since: Feb 28, 2007
Location: Charlotte, NC
Posts: 777
milessthomas is a jewel in the roughmilessthomas is a jewel in the roughmilessthomas is a jewel in the rough
Mac Specs: MBP 3.06Ghz, MBP 2.2Ghz, Mini G4, B/W G3 (Media Server), LCII, Beige G3

milessthomas is offline
Btw the install disks can be used to reset the admin password. But I don't believe they can be used to reset the root password. Besides I believe in your other post that you said you don't have the original disks...am I correct?
QUOTE Thanks
pirho

 
Member Since: Apr 23, 2007
Posts: 8
pirho is on a distinguished road

pirho is offline
OK thats what I was wondering if the root account is the master password as well. Now that I know its not the only choice to to run the install cd. Will it do anything to current accounts?
QUOTE Thanks
milessthomas

 
milessthomas's Avatar
 
Member Since: Feb 28, 2007
Location: Charlotte, NC
Posts: 777
milessthomas is a jewel in the roughmilessthomas is a jewel in the roughmilessthomas is a jewel in the rough
Mac Specs: MBP 3.06Ghz, MBP 2.2Ghz, Mini G4, B/W G3 (Media Server), LCII, Beige G3

milessthomas is offline
I don't believe that changing the terminal root passwd will do any changes to any of your accounts. But I would back up everything. Playing around in terminal and with the superuser is messy business. You can really screw things up if you don't know what your doing. Be careful.
QUOTE Thanks
pirho

 
Member Since: Apr 23, 2007
Posts: 8
pirho is on a distinguished road

pirho is offline
No not terminal the master password reset.
QUOTE Thanks
pirho

 
Member Since: Apr 23, 2007
Posts: 8
pirho is on a distinguished road

pirho is offline
I'm curious, under the root account there is a folder called etc in there is a file called master.passwd if this file was replaced with one from another account (if that was possible) wouldnt that rest the master password?
QUOTE Thanks
milessthomas

 
milessthomas's Avatar
 
Member Since: Feb 28, 2007
Location: Charlotte, NC
Posts: 777
milessthomas is a jewel in the roughmilessthomas is a jewel in the roughmilessthomas is a jewel in the rough
Mac Specs: MBP 3.06Ghz, MBP 2.2Ghz, Mini G4, B/W G3 (Media Server), LCII, Beige G3

milessthomas is offline
Well...theres a master password for file vault. Besides the admin password. But anyways I don't think they would make it that easy to just replace the folder with one from another account. I would wait for some replys from other people because I'm a little lost on what exactly your trying to reset.
QUOTE Thanks

Post Reply New Thread Subscribe


« Ninja scripts | File will not delete »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Root Password? mgmcc OS X - Operating System 4 04-05-2007 06:29 PM
lost root password on imac everestmike OS X - Operating System 6 11-28-2006 02:44 PM
How To Set The Root Password on Mac OS X? mac57 OS X - Operating System 9 05-29-2006 02:16 PM
Single-using mode: booting in root without password? AlexN OS X - Operating System 3 02-26-2006 04:57 PM
how do i reset the root password rmorgan OS X - Operating System 5 04-28-2004 02:43 AM

All times are GMT -4. The time now is 07:42 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?