Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Suddenly forgot root password
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dmitchell
Veteran
Veteran


Joined: 17 May 2003
Posts: 1159
Location: Austin, Texas

PostPosted: Mon Aug 11, 2008 12:07 am    Post subject: Suddenly forgot root password Reply with quote

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
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Mon Aug 11, 2008 12:15 am    Post subject: Reply with quote

:lol: :lol: :lol:

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.

:P
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
richk449
Guru
Guru


Joined: 24 Oct 2003
Posts: 345

PostPosted: Mon Aug 11, 2008 12:33 am    Post subject: Reply with quote

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
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5941

PostPosted: Mon Aug 11, 2008 1:32 am    Post subject: Reply with quote

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
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Mon Aug 11, 2008 2:22 am    Post subject: Reply with quote

Can't you just read it off of the sticky note on the side of your monitor?
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Mon Aug 11, 2008 9:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Mon Aug 11, 2008 2:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 895
Location: Germany

PostPosted: Mon Aug 11, 2008 5:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Mon Aug 11, 2008 5:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Aug 11, 2008 6:26 pm    Post subject: Reply with quote

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. :D

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
F_
Tux's lil' helper
Tux's lil' helper


Joined: 31 Dec 2006
Posts: 142

PostPosted: Mon Aug 11, 2008 10:25 pm    Post subject: Reply with quote

Consider this a blessing in disguise.

The real problem here is that you've used the same root password for years.
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Tue Aug 12, 2008 3:29 am    Post subject: Reply with quote

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 :D
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum