[SOLVED] Can't remember the user password- Dell 910 linux
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.
A friend of mine can't remember her password for the computer.When the computer starts it automatically loads her user profile, i can't create any new users, and i cant become root with sudo, i looked around on the forums and some stuff was very helpful in teaching me more about linux, but without being able to change, or remove the password i cant update.
the laptop is a dell 910 mini.
At the terminal, instead of being: User@localhost, it's : name@name
You can only become root with su, but need root password.
Sudo only gives superuser(root) power each time sudo is used, but you need user password.
If neither of you knows password you'll have to create new root password before you get to login window. After you create new account you can view & create a password.
I hope you have permission to do what you're doing. I don't know exactly how it is with ubuntu but I know that it can be done om mac. You'll have to google for the exact recipe.
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855
Rep:
@EDDIE - There are many ways you can become a root.
@OP - Your best bet is booting into single user mode. Perhaps you can see that entry below the normal grub entry that you hit enter on. In case you do not find it just add 'single' or '1' at the end of the line that says kernel. The pc will boot up and come to the shell you can type 'passwd root' or 'passwd <user>' there and get the password changed.
If this helps tell us - if not we would give you further (more hackish) instructions.
1.) switch on the laptop and capture the grub label menu
2.) press space bar or any key to cut the boot option count down time
3.) below the grub window you can find the instruction to go to the grub prompt.
4.) After reading the understanding the instruction, press "e"
5.) now you will be automatically switched edit window with the grub boot options.
6.) move the arrow key and point it to the second line (start's with kernel)
7.) again press "e" and go the last line. give a space and type 'S' (uppercase alphabet)
8.) now press "ESC" key and type "b"
9.) now the system will boot to single user mode and you will get a '#' shell prompt.
10.) type the command "passwd" and press the enter key.
11.) the shell will prompt for new password and you can enter the desired password.
12.) now exit from the shell and the OS will reboot to the default runlevel which is mentioned in the /etc/inittab
13.) After receiving the prompt or GUI window try root login with the new password.
14.) now a days GUI root login is not allowed in most of the Linux flavor.
Note: This password reset option will work only for RH/Fedora/CentOS/SUSE/Wind river Linux
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.