LinuxQuestions.org
Register a domain and help support LQ
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 04-22-2009, 10:02 PM   #1
NewTeacher
LQ Newbie
 
Registered: Jun 2008
Posts: 11

Rep: Reputation: 0
Login for graphic interface


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
 
Old 04-22-2009, 10:29 PM   #2
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Rep: Reputation: 34
Quote:
Originally Posted by NewTeacher View Post
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. . .
 
Old 04-22-2009, 11:51 PM   #3
NewTeacher
LQ Newbie
 
Registered: Jun 2008
Posts: 11

Original Poster
Rep: Reputation: 0
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?
 
Old 04-23-2009, 01:27 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
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.
 
Old 04-23-2009, 01:35 AM   #5
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Rep: Reputation: 34
Quote:
Originally Posted by NewTeacher View Post
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
 
Old 04-23-2009, 01:43 AM   #6
NewTeacher
LQ Newbie
 
Registered: Jun 2008
Posts: 11

Original Poster
Rep: Reputation: 0
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?
 
Old 04-23-2009, 01:50 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
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.
 
Old 04-23-2009, 02:02 AM   #8
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Rep: Reputation: 34
Quote:
Originally Posted by NewTeacher View Post
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. ..
 
Old 04-23-2009, 02:02 AM   #9
NewTeacher
LQ Newbie
 
Registered: Jun 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you for this extra help. I will check it out to see what you have written.

Thank you again for your help.
NewTeacher
 
  


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
How to install without graphic interface abd_bela DamnSmallLinux 1 08-01-2008 12:11 AM
graphic interface disabled uxan Fedora 1 05-23-2008 10:42 AM
installing graphic interface vs59 Linux - Newbie 3 03-22-2004 08:40 AM
graphic interface diamo Linux - Newbie 2 10-28-2003 08:16 PM
No graphic interface barDo Linux - Software 1 02-08-2002 10:31 AM


All times are GMT -5. The time now is 10:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration