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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-26-2003, 02:58 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 13
Rep:
|
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
|
|
|
08-26-2003, 03:04 PM
|
#2
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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..
|
|
|
08-26-2003, 03:04 PM
|
#3
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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.
|
|
|
08-26-2003, 03:08 PM
|
#4
|
LQ Newbie
Registered: Aug 2003
Posts: 13
Original Poster
Rep:
|
Thanks Dr Ozz
I got past that now I have [root@localhost root]#
What is it lookiong for here
|
|
|
08-26-2003, 03:16 PM
|
#5
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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
|
|
|
08-26-2003, 03:55 PM
|
#6
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
........... 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
|
|
|
All times are GMT -5. The time now is 03:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|