Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sorry, I know there are several posts in general and in various forums relating to re-setting forgotten passwords. I have re-set passwords myself and kept written instructions to use but this time nothing appears to work.
Grub/recovery/root For example a user named sally ls /home passwd sally produces "Give root PW for maintenance or type Control D to continue. Typed in Control D pressed enter and the command was just repeated. Nowhere to try mount -rw -o remount /
no point in being asked for the Root PW when that plus the sudo pw is what I have forgottten. Please help. Thanks. its a couple of years since I have used the grub menu and that has also changed. I tried grub.edit to mount/remount but that did not work.
Also tried grub/recovery/edit with the intention of appending the linux line with rw init=/bin/bash at the end. press Ctrl + X to boot Type in passwd username to set password. I could not do this because the print on the Edit screen was too small and blurred to find the Linux line.
Using Ubuntu 13.04 and just trying to clean everything up on my PC to install the latest version of Ubuntu.
Sorry, I know there are several posts in general and in various forums relating to re-setting forgotten passwords. I have re-set passwords myself and kept written instructions to use but this time nothing appears to work.
Using Ubuntu 13.04 and just trying to clean everything up on my PC to install the latest version of Ubuntu.
Unlock The Root Account, Reset The Root Password, Change Username In Ubuntu 13.04 Raring Ringtail
the sudo password should be the root passwd, but with these crazy distros that veaar away from a (old school) Linux that uses root as a user too well ....
Thank you for your replies. I call my username sudo because I always think of it as the sudo password as the terminal asks for sudo password. Nothing fishy It distinguishes it more easily in my mind from the root PW.
Managed to sort it so will put it here in case it helps others. grub e to edit arrow down and type single after ro on the line that starts linux /boot/vmlinuz. F10 to boot dropped into a root prompt. Type passwd username worked fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.