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 03-26-2004, 01:05 AM   #1
paul9
LQ Newbie
 
Registered: Mar 2004
Distribution: mandrake 9.2
Posts: 3

Rep: Reputation: 0
login problem


I have just recently installed mandrake 9.2. I was very pleased with no problems.
I started checking the control centre and must have changed my display manager somehow, as now when I boot a login screen comes up.
Asks for login and password. The only password I know is my root user password.
I installed using the wizard and dont really remember setting any other login or password. What can I do to get started again?
Im really annoyed with myself because my mabdrake support ran out yesterday.
cheers Paul
 
Old 03-26-2004, 01:29 AM   #2
fizazz88
Member
 
Registered: Mar 2004
Distribution: Win Me|Win2K|WinXP|SuSE7.2 x3|RH 3.0 WS
Posts: 32

Rep: Reputation: 15
I had the same problem and someone told me that you can't login to the Xwindows (GNOME at least) as root user. So what I did was I rebooted to single user mode ("linux init 1"), created another user then reboot again and logged in as that new user.
Hope this helps.
 
Old 03-26-2004, 02:22 AM   #3
paul9
LQ Newbie
 
Registered: Mar 2004
Distribution: mandrake 9.2
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks I managed to get to single user mode but then how do you create a new user from there?
cheers Paul
 
Old 03-26-2004, 03:23 AM   #4
verstapp
Member
 
Registered: Feb 2004
Location: canberra australia
Distribution: Suse 9.0
Posts: 44

Rep: Reputation: 15
1. get to a command line (I don't know how to do this in X) as root.
2. type useradd fred (fred is the example user, substitute your own name).
3. type passwd fred (fred is the example again, substitute again).
it will ask you for fred's password. type it. it will ask you to type it again. type it. I assume it checks that the two passwords you type in are the same and complains if they aren't.
you now have a user fred and you can log in as him instead of using root all the time.
 
Old 03-26-2004, 03:46 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you did create a user, but don't remember the password, you can use the 'passwd' command to set the password.

passwd username

Then you will be prompted twice for the new password.

Booting up with the option of 'single' is a way to get to single-user root mode, in the case that Linux is set up so you can't log in a root. (Assuming the Lilo isn't password protected and you forgot that also)
 
Old 03-26-2004, 05:03 AM   #6
paul9
LQ Newbie
 
Registered: Mar 2004
Distribution: mandrake 9.2
Posts: 3

Original Poster
Rep: Reputation: 0
I can type in useradd 'name' and press enter but when I type in passwd
and am prompted to type a pass word The curser will not move. it remains stuck continuing to press enter it eventually says bad password. ??
cheers Paul
 
  


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 problem satimis Linux From Scratch 4 08-24-2005 10:22 AM
Login problem Frederik Valeur Linux - Software 3 06-12-2005 09:46 PM
Login Problem don_dimo Linux - Software 2 06-14-2004 12:47 PM
Login problem! yulitao Linux - General 3 04-12-2004 04:13 PM
Login problem with RH 7.1 bildnisse Linux - Newbie 2 01-01-2002 10:05 PM

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

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