2 Guys, a Mac, and a Website - The Evolution of the Web - Forgotten Root User Password Fix
October 7th - Hey, happy pantsday.
2 Guys Store

120x60

 Search

 Classic 2 Guys
10 Random Stories:
The bar for iPod knock-offs has been raised
HP invents a cool technology. No really.
New Mac at Macworld Expo?
Thoughts About A Possible New iPod Remote
Put that icon at the 4001 pixel mark, I dare ya!
A PHP Tutorial - Part 1
Windows PC's Suck!
MusicMatch Copies Apple; Dell Horns In On The Action
Run For Your Lives! IE 7 to KILL FireFox AAAGGGGGHHHHHHH
More Apple Stores Open

 Comments
yum hot guys - core
You guys are the pants! - PHP WannaBe
Maybe they don't like you - so they sent you defective product. Have yo... - DJLC
A friend of mine had this product, and the antenna portion quickly came... - Cubist
And the other rule of not commenting on your own article!
...
- Jonahan


 Account
Not logged in.

Username:
Password:
Save password
Not registered?




 Forgotten Root User Password Fix
Ever been in this situation? You change your root user password because you're trying to keep your system secure, but in the process you made your system so secure that you could not log in to the system as root because you forgot the password that you just knew no one else would be able to think of - and it looks as though you were right. Ok, so what if this happened to me? Why are you judging me? ...... Sorry, back to the topic at hand. :)

In order to use this fix you MUST be logged in to an account that has Administrative Priviledges on that system.
Here is what to do:
Open a terminal window and type in these commands
1. cd /etc
2. mount -t ufs -a
3. sudo passwd root
4. your password
5. the new root password (be sure to write this one down or something :) )

I guess this just goes to show you that you must be very careful who you give administrative access to. The moral of this story is: Only give administrative access to people you can trust and be careful when playing with the root account and when playing with sudo in the terminal.

Thanks to Lynn for this fix.

August 29 2002, 10:01 AM EDT, by




Comments:
Fiachra de Róiste 4/25/03, 8:02 PM EDT
A chara,
A simplier way would be to boot from the Jag cd (on start up by pressing c) and when the initial installer window (the first window shown) is displayed go to file (at the top left of the in window). there is an option to reset password. This would be an alternative if one had the "administration problem"
Mise le meas



This article is archived, so you may not comment on it.

(The good news is there's always the shoutbox, the forums or the contact form if you're socially-inclined at the moment!)


iMac G5_468x60
MacMini_02

 Site Links
 Deep Thoughts
I wish my name was Todd, because then I could say, "Yes, my name's Todd. Todd Blankenship." Oh, also I wish my last name was Blankenship.

 Around Da Web
iProng:
iPhone steals show at CTIA Wireless 2007
DLO offers dual cover fashion case for iPod
AT&T received 1M inquiries on iPhone
MacDailyNews:
Ars Technica in-depth review: Apple TV ?impressed all those who touched it?
Inside Apple?s Mac OS X 10.5 Leopard Server OS
The chips inside Apple TV
Think Secret:
Adobe Creative Suite 3 pricing revealed
 Olde Stuff
2 Guys Podcast Feed
Greatest American Hero
iAir
Scary Ballmer
Space Game
 We Like:
 • 2 Guys
 • Apple.com

 Side Projects
Jonahan
  • JediPoker.net
  • Jonahan.com
  • iProng
  • MacProng
iKen
  • MacIdiot
Jedbeck
  • Jedbeck.com
J.P.
  • Baby Ashley Project