LinuxQuestions.org
Help answer threads with 0 replies.
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-26-2003, 02:58 PM   #1
walsht3108
LQ Newbie
 
Registered: Aug 2003
Posts: 13

Rep: Reputation: 0
Login problems


I have for the first time got Linux Red Hat 9 to run. After everything was initialized. It is now asking me for a

localhost login:
I did not set any passwords and dont remember using a login name. Any advice
 
Old 08-26-2003, 03:04 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well if you didn't make any users in the installation then:
type root as the login
and then type your root password, and if you don't remember doing that, then you most likely didn't provide a password, which in turn means its blank, and then that means just hit enter when prompted for a password..
 
Old 08-26-2003, 03:04 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Follow these steps to reset your root password:
1) Reboot your computer.
2) When the grub bootloader appears on the screen select the entry for your linux system - it may be the only one.
3) Press the "e" key to edit the entry.
4) Select the line beggining with "kernel".
5) Press the "e" key again
6) Type " single" no quotes
7) Press enter
8) Press "b" to boot
9) When the prompt appears type "passwd" press enter
10) Enter a new password when prompted
11) Reboot by typing "shutdown -r now"

Then login as root and create new users with the "adduser" command.
 
Old 08-26-2003, 03:08 PM   #4
walsht3108
LQ Newbie
 
Registered: Aug 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks Dr Ozz

I got past that now I have [root@localhost root]#
What is it lookiong for here
 
Old 08-26-2003, 03:16 PM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
now you can add a normal user by typing:
adduser
then it will prompt you for a login name and password and other easy to answer questions such as the users name and such....
so for instance lets just say if you named the login walsht you get then type:
su walsht
and then you can type:
startx
and this will bring you to the X Window System based on if you installed it
 
Old 08-26-2003, 03:55 PM   #6
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
........... And if you want to boot into X each time you boot up:

Open a terminal

su
root password

kedit /etc/inittab

Look for the line near the top that says:

id:3:initdefault:

change the 3 to a 5 - so you now have

id:5:initdefault:

save the file and reboot - you'll now reboot into an X login and graphical session
 
  


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
Login Screen and Login Photo problems? host Linux - Software 0 02-21-2005 06:56 AM
Login Problems belkira Mandriva 18 05-27-2004 10:49 PM
Login problems, HELP! boojummy Linux - General 4 11-02-2003 10:30 AM
Problems with Login kristaps Mandriva 1 10-25-2003 07:48 AM
login problems--help!! hobylinux Linux - Newbie 3 07-19-2003 05:39 PM

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

All times are GMT -5. The time now is 03:42 PM.

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