LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-26-2006, 10:50 AM   #1
deltoids
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Rep: Reputation: 0
Login Issues


Hi everyone, yesterday, I downloaded the linux distribution, Fedora Core 5 Release, and installed it on my old computer (via CD-RWs), and everything was going great, the package installation had finished. Then, I get to that black screen which asks you numerous questions, and followed by that a login prompt. This is where my problems begin, because it asks you for a username, and I'm not sure what mine is. I'm pretty sure I just defaulted it to "localhost" earlier in the installation program. I'm pretty sure I know what my root password is, as I did write it down, but even when I press [enter] after I've typed the username, it won't let me type anything in the password box.

Is there any way I can find out my username to verify, just in case it's wrong? Is there anything I'm doing wrong? I am completely new to linux, by the way.

Thanks in advance for your help,
deltoids.

Last edited by deltoids; 06-26-2006 at 10:52 AM.
 
Old 06-26-2006, 10:54 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Firstly, are you using the username "root" to try and log in as root? Not sure if you meant you were trying to log in as "localhost". Secondly, when you type your password in, it's normal that nothing is shown . Go ahead and type your password (and remember that passwords are case sensitive) and hit enter.
 
Old 06-26-2006, 11:08 AM   #3
deltoids
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you so much for your help, first of all. I really appreciate it.

Quote:
Originally Posted by Nylex
Firstly, are you using the username "root" to try and log in as root? Not sure if you meant you were trying to log in as "localhost".
Well, now I've tried both. The first time, I did just type in "localhost" for the username, and went ahead and typed in my password, but it was incorrect.

Then, you gave me the idea to type in "root" as the username, and I did, with my password, and I didn't get an error message this time, but I did get something that read, "[root@localhost ~]#"

I'm probably just using the incorrect username, I'm pretty sure that it was "localhost" though. Any suggestions?

Is it normal that the little green underscore in the password field doesn't move when you type something in there?

Heh, is there anyway I can skip this screen prompt for the login and just get to the desktop?
 
Old 06-26-2006, 11:44 AM   #4
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
The "[root@localhost ~]#" is actually right - you have logged in to your machine. Try the command "startx" here to see if you can't get a desktop up. If you can, you can then set up kdm or gdm to get you logged in graphically.

EDIT:
Actually before you "startx", do "adduser" to add a non-root user. This will walk you through setting up a non-root user with which you can then log in instead of root.

Last edited by xpromisex; 06-26-2006 at 11:45 AM.
 
Old 06-26-2006, 11:53 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Yes, it's normal that the cursor doesn't move when you type your password . You do not want to start a GUI straight away now. It's better to create a normal user account (i.e. one without all of root's power) first and then start your GUI using that. Only use root when you have to.

You should be able to add a user account with "useradd -m username", without quotes and replacing "username" with the name you want your user to have. After this, run "passwd username" to set the password for that account. Type "exit" to log out, log back in with your new account and then try "startx" as mentioned above.
 
Old 06-26-2006, 11:56 AM   #6
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
to avoid confusion: useradd and adduser are both correct commands. adduser tends to be a bit more userfriendly and prompts you for most of the information you would need to set up a user account. useradd just adds that user (doesn't add the user to any groups etc.)
 
Old 06-26-2006, 12:00 PM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Yep, but I've read somewhere that they're actually the same command on Fedora.
 
Old 06-26-2006, 12:43 PM   #8
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
yup, redhat has useradd and adduser as the same command.
 
Old 06-26-2006, 01:32 PM   #9
deltoids
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you all so much, all of your suggestions worked and were greatly appreciated!
 
  


Reply



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
phpmyadmin login issues basq3 Linux - Software 10 04-21-2005 01:46 AM
Login w/GUI issues steve02a Mandriva 4 01-12-2005 03:57 PM
FTP Login issues artman62 Linux - Networking 1 04-01-2004 11:55 AM
Login Issues cactus-bob Linux - Newbie 4 03-02-2004 09:16 AM
Login issues Twiggy794 Linux - Software 7 12-04-2003 06:12 AM

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

All times are GMT -5. The time now is 11:24 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
Open Source Consulting | Domain Registration