LinuxQuestions.org
Review your favorite Linux distribution.
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 08-16-2003, 12:15 AM   #1
saturnman
LQ Newbie
 
Registered: Aug 2003
Location: ohio
Distribution: linux mandrake
Posts: 6

Rep: Reputation: 0
username and pass problem in red hat


I recently installed linux redhat 8.0 on my computer.when i start up linux it asks for a username and password. Its funny that i wasnt asked to choose a username and pass during the installation process.Only password it asked me to make was a root password.What can i do so that i can run redhat since i have no name or pass?I hope i dont have to reinstall. I am a linux dummy so please explain in easy to understand terms.thanks.
 
Old 08-16-2003, 12:54 AM   #2
Read_Icculus
Member
 
Registered: Oct 2002
Distribution: MDK 9.2, Debian
Posts: 74

Rep: Reputation: 16
Log in as root and use the command "adduser" at a terminal to add a normal user. It's an interactive command so it's pretty easy to get through. Read the man page a little as you may have to futz with specifying a default shell for the new user and a few other settings. Also last time I installed RH 8.0 I was prompted for adding a normal user. Perhaps you skipped over it somewhere by mistake or did not see that section?
 
Old 08-16-2003, 12:59 AM   #3
saturnman
LQ Newbie
 
Registered: Aug 2003
Location: ohio
Distribution: linux mandrake
Posts: 6

Original Poster
Rep: Reputation: 0
How do i login as root to do this when the username and pass wont let me log in?
 
Old 08-16-2003, 01:14 AM   #4
Read_Icculus
Member
 
Registered: Oct 2002
Distribution: MDK 9.2, Debian
Posts: 74

Rep: Reputation: 16
You did say that you entered a root password during the install? Simply type in "root" in the login section, and the root password you selected during the install for the password. If it is a graphical login screen and will not allow you to login as root, (possibly for security reasons?), then hit CTRL+ALT+F1 to bring up a terminal login. From there you can login as root and add a user.
 
Old 08-16-2003, 02:11 AM   #5
saturnman
LQ Newbie
 
Registered: Aug 2003
Location: ohio
Distribution: linux mandrake
Posts: 6

Original Poster
Rep: Reputation: 0
username and pass problem in red hat

Thanks a lot. im going to reboot into linux and give it a try.
 
Old 08-16-2003, 07:10 PM   #6
rahulsundaram
Member
 
Registered: May 2003
Location: India
Distribution: Knoppix, RedHat
Posts: 246

Rep: Reputation: 30
hi

type root as username and type the password you entered during setup. go to system settings -> user and groups and add a new user in your name or whatever. use it for your general tasks. if its some administrative task like installing new stuff or changing system settings the commands usually ask for the root password. if its a command line program you can login as root by typing su or press control alt and F1 to login as root and control alt F7 or Alt+F7 to return back to the graphical interface.


dont run the system as root user. you might have security problems or do something bad without realising it

regards
rahul
 
Old 08-17-2003, 12:30 AM   #7
saturnman
LQ Newbie
 
Registered: Aug 2003
Location: ohio
Distribution: linux mandrake
Posts: 6

Original Poster
Rep: Reputation: 0
thanks alot for the info everyone. Your suggestions were a big help. I am unable to get on the internet because redhat didnt recognize my ethernet card and i have no clue how to fix it. I unninstalled redhat and went back to xandros,seems a lot easier to me.thanks again folks.
 
  


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
Red Hat 9 Update Agent - Problem Registering Username beatnik007 Linux - Newbie 5 10-03-2004 11:53 AM
i forgot my username and password, how can i open my red hat linux? josephgiselle Linux - Software 2 06-29-2004 09:21 AM
Red Hat Update Agent refuses any username gfischer Linux - Newbie 1 06-18-2004 01:29 PM
Trouble registering username on red hat network Thaidog Red Hat 1 02-22-2004 11:50 AM
username password forgotten red hat 9 scrollcap Linux - General 1 01-10-2004 07:24 PM


All times are GMT -5. The time now is 12:37 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