LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
  Search this Thread
Old 09-04-2005, 08:20 AM   #1
enigmatech
Member
 
Registered: Aug 2005
Posts: 33

Rep: Reputation: 15
how to recover password


hi,
i need help to recover username password at suse 9.3, any help will be appreciate
 
Old 09-04-2005, 08:59 AM   #2
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Ubuntu
Posts: 389

Rep: Reputation: 30
login as root & change the user password.....

Code:
passwd username
 
Old 09-04-2005, 09:09 AM   #3
enigmatech
Member
 
Registered: Aug 2005
Posts: 33

Original Poster
Rep: Reputation: 15
ok, thanks,but how to login as root? i'm new for linux

Last edited by enigmatech; 09-04-2005 at 09:21 AM.
 
Old 09-04-2005, 10:05 AM   #4
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Ubuntu
Posts: 389

Rep: Reputation: 30
ok, what is your linux distro?

do you've your root password? if yes, open terminal (xterm or others)

su - root
<password>

btw, now you logon using what user?
 
Old 09-04-2005, 10:42 AM   #5
enigmatech
Member
 
Registered: Aug 2005
Posts: 33

Original Poster
Rep: Reputation: 15
i use suse 9.3, my prob is now i cant login to desktop since i lost my username password
 
Old 09-04-2005, 10:44 AM   #6
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Ubuntu
Posts: 389

Rep: Reputation: 30
ok. can you login using root acc
 
Old 09-04-2005, 11:50 AM   #7
enigmatech
Member
 
Registered: Aug 2005
Posts: 33

Original Poster
Rep: Reputation: 15
but how to login to root since i cant login to desktop
 
Old 09-04-2005, 12:18 PM   #8
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
press ctrl+alt+f1 at the login prompt.
log in as root.
do passwd <your username>.
log out of root (type exit or logout or press ctrl+D).
press ctrl+alt+f7 to get back to your login screen.
 
Old 09-04-2005, 12:19 PM   #9
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Type Ctrl-Alt-F1 and login as root. Change the password with "passwd username", logout and Ctrl-Alt-F7 to get GUI again. If it's not F7 in suse, try F5 or 6.

EDIT: Now that's twice that's happened today (someone was faster)

Last edited by makuyl; 09-04-2005 at 12:20 PM.
 
Old 09-04-2005, 12:31 PM   #10
enigmatech
Member
 
Registered: Aug 2005
Posts: 33

Original Poster
Rep: Reputation: 15
thanks a lot
 
Old 09-04-2005, 02:25 PM   #11
enigmatech
Member
 
Registered: Aug 2005
Posts: 33

Original Poster
Rep: Reputation: 15
ok, i type ctrl+alt+F1, then this bring me to screen like this :

linux login :
password : ( i filled my root password) but it's show :

incorrect login, how to login as root from this?

Last edited by enigmatech; 09-04-2005 at 02:27 PM.
 
Old 09-04-2005, 02:58 PM   #12
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Umm, did you type "root" (without quotes) at the login: ?
 
Old 09-04-2005, 03:11 PM   #13
enigmatech
Member
 
Registered: Aug 2005
Posts: 33

Original Poster
Rep: Reputation: 15
do u mean at this screen or after i type ctrl+alt+f1? "linux login :"
 
Old 09-04-2005, 04:22 PM   #14
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
After ctrl + alt + f1.
- it askes for an user (login). enter "root" (without quotes).
- then it askes for the password for the entered user (root user).
- Enter the root user password.

Now you should be logged in as root.

to reset the users password (for wich you forgot password) do the following

- type: "passwd username" (without quotes, notice that you must substitute username with the actual username, eg passwd james)
- then it askes for the new password for this user. do so.
- Wow! it asks you for the password again (enter the new password again)
there.. all done.
- type "exit"

- Do ctrl + alt + f7 to return to the graphical screen (where you need to login to)
- then enter the right user + the newly entered password.

done.


enjoy.


Last edited by teebones; 09-04-2005 at 04:24 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to recover the password of bootloader reply2vinay Linux - Software 6 03-10-2008 10:14 PM
Recover MySQL password wwnexc Linux - Security 2 10-16-2005 01:08 PM
how to recover password in redhat 7.2? sagun_newbie Linux - Hardware 3 07-04-2004 08:27 PM
recover root password sophie Linux - Newbie 1 08-05-2003 07:19 PM
Recover Root password Dannyb Linux - Newbie 7 10-25-2001 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:49 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration