Please, could someone give me some advise ? I put linux mint debian xfce on my brothers computer and we can not log in. He forgot the password and I can not remember what I used. I know that I can do a re-install but I rather not unless I absolutely have to. Is there a way of resetting the password ? I have tried using the terminal with the command " passwd " but it ask or the current password......... we don"t know the password so that doesn't work . I have googled the problem but can not find anything that will work. Everything that I find is for Ubuntu.
Any idea"s or instructions would be appreciated.
scotthge
Help forgot root password
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Help forgot root password
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.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Help forgot root password
This should probably also work from LMDE. Press and hold down left shift during boot to get the GRUB boot menu to show. Press the 'e' key to edit the boot parameters. Scroll down to the line starting with "linux" and on that line add the two parameters "rw init=/bin/bash" (without the quotes). That will boot you to a basic bash shell as root without needing the password. You can then run passwd to reset the root password, or passwd username to reset the password of another user.
Steps more detailed here: http://forums.linuxmint.com/viewtopic.p ... 87#p621487. Though these are for Linux Mint 13, I think the steps would be very similar on LMDE.
Steps more detailed here: http://forums.linuxmint.com/viewtopic.p ... 87#p621487. Though these are for Linux Mint 13, I think the steps would be very similar on LMDE.
Re: Help forgot root password
xenopeek, thank you for your reply. I will go over to my brothers house this week -end and follow your directions. Thank you so much, now I do not have to re-install the OS again.
scotthge
scotthge
Re: Help forgot root password
I wonder what the point of passwords are when a hack like this is easy enough to bypass a password.
Oh well.
Oh well.