Linux - NewbieThis 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.
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.
I just installed Fedora 10 on my old computer a few days ago. I had a bit of a time just finding out how to log into the system. I get a prompt saying "login". I type in "root" and hit "enter". Then I get "password" for a prompt. I type in the only password I know that I used when I installed the system. Then I get the prompt [root@localhost ~] # At this point I can type in startX. This takes me to a point where I have a long line of type. Here I know I can go to the end of the prompt and type in the number 1. That causes my computer to go into a graphics mode. I have a small window showing asking me for another password. I can't find any password that causes the system to go forward another step.
Would someone please tell me what is happening and how I can get beyond this point?
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389
Rep:
Quote:
Originally Posted by NewTeacher
I just installed Fedora 10 on my old computer a few days ago. I had a bit of a time just finding out how to log into the system. I get a prompt saying "login". I type in "root" and hit "enter". Then I get "password" for a prompt. I type in the only password I know that I used when I installed the system. Then I get the prompt [root@localhost ~] # At this point I can type in startX. This takes me to a point where I have a long line of type. Here I know I can go to the end of the prompt and type in the number 1. That causes my computer to go into a graphics mode. I have a small window showing asking me for another password. I can't find any password that causes the system to go forward another step.
Would someone please tell me what is happening and how I can get beyond this point?
Thanks so much.
New Teacher
what username is indicated in the window you are saying? i suppose its the Root user if you have not yet created other users. . .
Thank you for your reply RC. After I posted my question I realized that I had not stated it correctly. After I login as the root user I have been typing "init 5" . That brings up a grapic and asks for a user and then asks for a password. This is all under a box that says "Other". I don't know what to type into the prompt because as far as I know I have not yet created a "User" . I did use the command "useradd". This seems to create a directory with the name I gave for the argument for the command "useradd". I have also used the command "passwd" but I don't know what this password is for. Does it change the password for the "root" user or for the "user" that I have created?
You will need to specify the user for which you need to change or set password for with passwd command.
Just use useradd user
passwd user
That will set password for the just created user. If you just give passwd command, it will change the password for the user you are logged in with and executing command as.
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389
Rep:
Quote:
Originally Posted by NewTeacher
Thank you for your reply RC. After I posted my question I realized that I had not stated it correctly. After I login as the root user I have been typing "init 5" . That brings up a grapic and asks for a user and then asks for a password. This is all under a box that says "Other". I don't know what to type into the prompt because as far as I know I have not yet created a "User" . I did use the command "useradd". This seems to create a directory with the name I gave for the argument for the command "useradd". I have also used the command "passwd" but I don't know what this password is for. Does it change the password for the "root" user or for the "user" that I have created?
IF you are login as ROOT.. upon typing the word passwd and pressing enter, it means you will change the passwd for user ROOT
Thank you for your reply ic. My next question is this: If I am logged in as the "root" user then how do I set up a new user that is not the root? I know how to use the "useradd" command but if I use that and then the "passwd" command right after using the "useradd" command will I be making the password for the user that I just created?
If you read my earlier post I have already posted on how to set or change the password for the user. passwd command will need option. You will need to specify the name of the user you need to change password for.
If you do not specify username it will change password for user you are executing command as.
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389
Rep:
Quote:
Originally Posted by NewTeacher
Thank you for your reply ic. My next question is this: If I am logged in as the "root" user then how do I set up a new user that is not the root? I know how to use the "useradd" command but if I use that and then the "passwd" command right after using the "useradd" command will I be making the password for the user that I just created?
the question you are asking was already answered
ok, here :
create the user :
useradd/adduser newuser
then to set the passwd for that user you created type:
passwd newuser
it will prompt you for a password for the user you created. ..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.