LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
LinkBack Search this Thread
Old 12-07-2010, 01:10 AM   #1
BrittanyM
LQ Newbie
 
Registered: Dec 2010
Posts: 6

Rep: Reputation: 0
Can't remember the user password- Dell 910 linux


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

Please help

Last edited by BrittanyM; 12-07-2010 at 01:22 AM.
 
Old 12-07-2010, 01:38 AM   #2
EDDY1
Senior Member
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: DebianSqueeze, winsxp, wins7, Debian wheezy, LFS 7.2
Posts: 4,658

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
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.
 
Old 12-07-2010, 01:47 AM   #3
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 847

Rep: Reputation: Disabled
@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.
 
Old 12-07-2010, 01:54 AM   #4
BrittanyM
LQ Newbie
 
Registered: Dec 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Ok, i will give it a try, but, could you tell me how to get to this grub menu?
 
Old 12-07-2010, 01:58 AM   #5
prodev05
Member
 
Registered: Jul 2009
Location: Earth
Distribution: Unix & Linux Variants
Posts: 304

Rep: Reputation: 20
its very simple to reset the password.

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

Best Regards,
 
Old 12-07-2010, 02:09 AM   #6
BrittanyM
LQ Newbie
 
Registered: Dec 2010
Posts: 6

Original Poster
Rep: Reputation: 0
The only thing I can get to load is:

Boot Menu
hard drive
cd/dvd/cd-rw
network boot
diagnostics
<enter setup>

would either of these help?
 
Old 12-07-2010, 02:23 AM   #7
prodev05
Member
 
Registered: Jul 2009
Location: Earth
Distribution: Unix & Linux Variants
Posts: 304

Rep: Reputation: 20
Select boot menu where you'll get the GRUB label and follow the same procedure.

reg
 
Old 12-07-2010, 02:37 AM   #8
BrittanyM
LQ Newbie
 
Registered: Dec 2010
Posts: 6

Original Poster
Rep: Reputation: 0
I've got a black screen, :

Ubuntu 8.04.1 name tty2

name login:


what do i do with this??
 
Old 12-07-2010, 03:04 AM   #9
prodev05
Member
 
Registered: Jul 2009
Location: Earth
Distribution: Unix & Linux Variants
Posts: 304

Rep: Reputation: 20
Sorry, I'm not a Ubuntu user. please follow the link

All the Best,
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dell Inspiron 910 callasabra Linux - Laptop and Netbook 1 11-11-2010 03:38 PM
Don't remember user name or password nine9volt Linux - Newbie 1 08-07-2009 11:09 AM
ubuntu Cannot remember root user password - all online rsources seem to be a dead end phildbole Linux - Newbie 2 10-29-2008 06:55 PM
Setup samba server using GLOBAL security as user, why remember password on winxp? hocheetiong Linux - Newbie 3 03-11-2008 08:45 PM
Suse 8.2 won't remember root password as reg. user obarney Linux - General 6 09-29-2003 11:25 AM


All times are GMT -5. The time now is 11:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration