LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   cant remember my login for suse linux 8.2 (https://www.linuxquestions.org/questions/suse-opensuse-60/cant-remember-my-login-for-suse-linux-8-2-a-803303/)

rajpatel 04-21-2010 09:46 AM

cant remember my login for suse linux 8.2
 
hello i am having linux suse 8.2 (i586) kernel 2.4.20-4gb-athlon (tty1).
when i start my pc there is a window comeing asking me option like linux floppy linux - safe settings. on selecting linux suse runs and get halt with a message Welcome to suse linux 8.2 (i586) kernel 2.4.20-4gb-athlon (tty1. below that another message as(none) login : asking for login when i put my login i have again this message Welcome to suse linux 8.2 (i586) kernel 2.4.20-4gb-athlon (tty1. below that another message as(none) login : asking for login please help me what should i do i cannot start my Suse operating software.
Regards

zuzoa 04-21-2010 01:12 PM

If you cannot remember your username/password, you can mount your linux drive from a livecd and use the chroot tool to gain root access into your system. From there, you can set a new password for any user, or create new users.

pixellany 04-21-2010 01:22 PM

Even easier: Boot into single user mode

But--first: Try entering ctrl-alt-F1 (or F2, F3, etc.) to get into a terminal. Then, log in with the root password and you can set your user password.
If you do not have the root password, then you need something like single-user mode, or the solution above.

To log into single-user mode:
When the grub menu appears, hit any key to stop the count.
Select the system to boot, and hit "e" for edit
Select the kernel line, "e" again, and add the word "single"--no quotes--at the end of the line
"enter", then "b" to boot

The machine will come up in single-user mode with no password required. You can then reset all the passwords as required.


Even BETTER solution: Install something more current---SUSE 8.2 is pretty old.

wagscat123 04-30-2010 08:01 PM

Another password reset
 
A way to restore your password is to add the boot option init=/bin/bash. It will bring you straight to a single user prompt. You can run passwd, change your root, then use passwd again to change your regular password. Make sure you have a PS\2 keyboard (round plugin) keyboard when you do this. USB keyboards won't show up. Also, you should upgrade your SUSE, 8.2 is followed by 9.0, 9.1, 9.2, 9.3, 10.0, 10.1, 10.2, 10.3, 11.0, 11.1, and 11.2. 8.2 is 12 releases behind.


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