LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to recover password (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-recover-password-360063/)

enigmatech 09-04-2005 08:20 AM

how to recover password
 
hi,
i need help to recover username password at suse 9.3, any help will be appreciate

xgreen 09-04-2005 08:59 AM

login as root & change the user password.....

Code:

passwd username

enigmatech 09-04-2005 09:09 AM

ok, thanks,but how to login as root? i'm new for linux

xgreen 09-04-2005 10:05 AM

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?

enigmatech 09-04-2005 10:42 AM

i use suse 9.3, my prob is now i cant login to desktop since i lost my username password

xgreen 09-04-2005 10:44 AM

ok. can you login using root acc

enigmatech 09-04-2005 11:50 AM

but how to login to root since i cant login to desktop

Ynot Irucrem 09-04-2005 12:18 PM

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.

makuyl 09-04-2005 12:19 PM

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) :p

enigmatech 09-04-2005 12:31 PM

thanks a lot

enigmatech 09-04-2005 02:25 PM

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?

makuyl 09-04-2005 02:58 PM

Umm, did you type "root" (without quotes) at the login: ?

enigmatech 09-04-2005 03:11 PM

do u mean at this screen or after i type ctrl+alt+f1? "linux login :"

teebones 09-04-2005 04:22 PM

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.

:p


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