LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-14-2006, 06:11 PM   #1
feuercau
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
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!
 
Old 03-15-2006, 12:01 AM   #2
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
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
 
Old 03-15-2006, 04:26 AM   #3
feuercau
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Original Poster
Rep: Reputation: 0
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!
 
Old 03-15-2006, 05:34 PM   #4
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
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.
 
Old 03-17-2006, 03:15 PM   #5
feuercau
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I have no GRUB password.Where should I type "p"?
 
Old 03-17-2006, 03:21 PM   #6
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

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

Just bypass that and go to step 2.
 
  


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
Cant login with KDM after adabas installation The_Outlander Slackware 1 09-05-2005 10:00 AM
AIX login problem after first installation vinay88819 AIX 2 05-10-2005 04:12 PM
Can't login after installation mittrekkie Fedora 22 07-31-2004 12:36 PM
Unable to login after installation fedora 2 server eagle62 Fedora 4 06-04-2004 09:24 AM
Installation Problem with SuSe 8.2; can't get past Login Page bramfoto Linux - Distributions 1 10-09-2003 10:00 PM


All times are GMT -5. The time now is 01:25 AM.

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