View previous topic :: View next topic |
Author |
Message |
dmitchell Veteran
Joined: 17 May 2003 Posts: 1159 Location: Austin, Texas
|
Posted: Mon Aug 11, 2008 12:07 am Post subject: Suddenly forgot root password |
|
|
So I have used the same root password for years and have relied on my fingers to "remember" it. That is to say that I cannot recite the password at will but have always been able to type it. Until today. Today I awoke unable to type the password. What the fuck? _________________ Your argument is invalid. |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Mon Aug 11, 2008 12:15 am Post subject: |
|
|
edit: okay, to be helpful, either boot a livecd and chroot in, or boot to single user mode (just append "single" to the kernel boot parameters in your boot loader), and then passwd to something you can actually remember.
I wouldn't even wish this on a libertarian.
_________________ "You have to invite me in" |
|
Back to top |
|
|
richk449 Guru
Joined: 24 Oct 2003 Posts: 345
|
Posted: Mon Aug 11, 2008 12:33 am Post subject: |
|
|
Your body knows what to do, you just need to relax. Drink a beer, and try again. If that doesn't work, repeat the previous procedure, until it does (or you pass out). |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5941
|
Posted: Mon Aug 11, 2008 1:32 am Post subject: |
|
|
Moved from Off the Wall to Networking & Security. _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Mon Aug 11, 2008 2:22 am Post subject: |
|
|
Can't you just read it off of the sticky note on the side of your monitor? |
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Mon Aug 11, 2008 9:38 am Post subject: |
|
|
leave it today
tomorrow it will come back to your fingers
there has to be a file in /etc which remembers it _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Mon Aug 11, 2008 2:53 pm Post subject: |
|
|
padoor wrote: | there has to be a file in /etc which remembers it | Well, not directly, but johntheripper may actually be able to decrypt the password hash in /etc/shadow if you really want to recover the password.
Of course, that's assuming you haven't changed it already... _________________ "You have to invite me in" |
|
Back to top |
|
|
Clad in Sky l33t
Joined: 04 May 2007 Posts: 895 Location: Germany
|
Posted: Mon Aug 11, 2008 5:57 pm Post subject: |
|
|
You can delete it from the shadow file and then make a new one. _________________ Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Mon Aug 11, 2008 5:59 pm Post subject: |
|
|
Clad in Sky wrote: | You can delete it from the shadow file and then make a new one. |
Not without being root... He would have to chroot into the system, or otherwise mount his root partition while booted on other media. In which case, he might as well follow Hopeless' first suggestion. Chroot into the system and run passwd to change it. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Mon Aug 11, 2008 6:26 pm Post subject: |
|
|
I'm with the chorus telling you to be mellow, smoke a fatty, and let your muscle memory, and your fingers do the walking. Unless you absolutely need back in, that is.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
F_ Tux's lil' helper
Joined: 31 Dec 2006 Posts: 142
|
Posted: Mon Aug 11, 2008 10:25 pm Post subject: |
|
|
Consider this a blessing in disguise.
The real problem here is that you've used the same root password for years. |
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Tue Aug 12, 2008 3:29 am Post subject: |
|
|
most people would be using the same passwd for root and user if your machine is used by you only.
i keep the same.
capslock on?
fingers usually dont forget but some hesitations can come up like forgetting the spelling if daily used words.
some times even names of our close friends off hand we may not be able to write _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
|