Password recovery

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
bouncingwilf

Password recovery

Post by bouncingwilf »

I recently re-installed Nadia rather than upgrading from Maya on one of my systems and in the process adopted a new password which I have since forgotten (but I'm sure I'll eventually remember it). Now being in a hurry (as one is) I thought no worry - I'll just boot into the root prompt and reset it. Here's where I've discovered what I see as a problem. If one boots into grub and selects recovery mode, one is offered the opportunity to drop to a root shell where password changes should be possible BUT this root shell now requires root password to get at the prompt. i.e. you can't reset root password unless you already know root password thus I see no obvious way of resetting a system. As one who has used and administered Unix type systems for the best part of 30 years (on and off), I find this irritating but perhaps that's just because I'm old and grumpy. Perhaps someone could enlighten me as to the reasoning behind this strange setup and a way as to avoid an irritaing re-install should I fail to remember the password.

Bouncingwilf
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: Password recovery

Post by xenopeek »

You can circumvent the root console asking for a password by booting directly into a root bash. The steps may differ a bit for Linux Mint 14, but here is my guide on how to do this on Linux Mint 13: http://forums.linuxmint.com/viewtopic.p ... 87#p621487
Image
bouncingwilf

Re: Password recovery

Post by bouncingwilf »

Many thanks for your very quick reply - password recovery method noted! - I will either try it later or hopefully remember the old one. I'm still not sure of the logic of not going directly to a root prompt (physical access is effectively root access anyway)

Bouncingwilf
User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: Password recovery

Post by xenopeek »

I think you can configure it somewhere, but I can't recall right now :P
Image
Locked

Return to “Installation & Boot”