LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installation and problem with Login (https://www.linuxquestions.org/questions/linux-newbie-8/installation-and-problem-with-login-424854/)

feuercau 03-14-2006 05:11 PM

Installation and problem with Login
 
hi all,I am new here. I hope you can help me. I installed the first two CDs of Linux Suse 10.0, but at that time the computer said that I should put the CD 3 in the CDRom, but I haven't had that CD yet. So I cancelled the installation(but at that moment the computer can boot with this linux from the hard disk). When I have the CD 3,4 and 5, I update my Linux which I installed with the first two CDs.When I finished, I cannot login because I dont know the username and the password ( the step when I should make the username and password during the installation was skipped by me before). So what should I do now to login.
Thank you very much!

xpromisex 03-14-2006 11:01 PM

do you know the root password?

If you never set one up, you can exit your X session with a Ctrl+Alt+F1 and type "root" to login as root. Then type "passwd root" to set root's password. To add another user, just use Useradd or adduser. I believe that adduser is the more difficult of the two, as it automates nothing. (one of the two asks you for information, the other just expects you to provide it. Just issue both commands, and exit if it doesn't ask for information.)

Hope this helps

feuercau 03-15-2006 03:26 AM

I have never set the password (root and user)and the username. When I typed Ctrl+alt+f1, I was asked for the linux login, I typed "root" but it displayed "login incorrect", so I have no chance to type and set the password. I could type the others letters and words in the linux login field and it displayed the password ( but I have never set any username), only when I type "root", it doesn't display the password field, but the line "login incorrect". I have tried with "Administrator" with the password "password", but it didn't work. I have typed "passwd root" after typing "root", too, but nothing happened.
I have never seen the KDE after the installation because of not knowing the loginname and password.
I dont know what to do now, please help me! I don't want to install the whole linux once more!
Thank you!

xpromisex 03-15-2006 04:34 PM

It looks like you may have to boot into a single user mode to set the password (and to create the root user maybe) To do this with GRUB:
1.If you have a GRUB password configured, type p and enter the password.
2.Select the version of the kernel that you wish to boot and type e for edit. You will be presented with a list of items in the configuration file for the title you just selected.
3.Select the line that starts with "kernel" and type e to edit the line.
4.Go to the end of the line and type single as a separate word (press the [Spacebar] and then type single). Press [Enter] to exit edit mode.
5.Back at the GRUB screen, type b to boot into single user mode.


(adapted from some Red Hat docs)

once booted into the single user mode - type passwd root to (hopefully) let you set your password.


If that doesn't work, Im not sure, but you could use Adduser or Useradd (whichever you prefer) to add the root account, but Im not sure how to make it THE user.

feuercau 03-17-2006 02:15 PM

I have no GRUB password.Where should I type "p"?

xpromisex 03-17-2006 02:21 PM

if you dont have a grub password - don't worry about that step.

Just bypass that and go to step 2.


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