LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-13-2005, 11:24 PM   #1
BigSAR
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Rep: Reputation: 0
Unhappy Problem Logging In


Hello Everyone,

I just finished installing Mandrake 10.1, I set the root password, and setup an account for myself. The first time I tried, when I put in my password, even when I put it in correctly, the login box just shakes (which I think means its wrong) After trying many different things, I did a reinstall with out any passwords on the root or any user accounts (just to see if I could get it working, not planning on running like this). Even after installing like this, it still prompts for a password. I tried just clicking enter, but it still doesn't let me log in. I don't know what is going on.

Any help would be great.

Thanks
 
Old 02-14-2005, 01:13 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Do a ctrl alt f1 and then login as root. Type in passwd and then username, then reset the password. Should look something like this:

Code:
root@smoker / # passwd dale
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: password updated successfully
root@smoker / #
Then you should be able to login. It doesn't like my user password but it likes my root password. Long, lots of the stuff above the numbers. Hackers beware. Just make sure you remember the thing or you may have to do it again. lol

That should fix it. You can do a ctrl alt f7 to get back to the GUI.

Later

 
Old 02-14-2005, 01:13 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
It looks like maybe you are putting in the wrong password because if the password was accurate it would be accepted. Also make sure you are not mixing up the root and your normal users password.
 
Old 02-14-2005, 01:14 AM   #4
bunnadik
Member
 
Registered: Jan 2005
Location: Ívik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
What security level did you choose? The higher ones won't let root log in.

Boot in single user mode (press <Esc> at the boot menu and type 'linux single') and check your /etc/password to make
sure your ordinary user is present and try changing the password.

If you have numbers in your password and enter them on the numeric keypad make sure NumLock is on.
Also remember linux distinguishes between upper and lower case.

- Peder
 
Old 03-04-2005, 12:52 AM   #5
damnyouwalrus
LQ Newbie
 
Registered: Mar 2005
Location: Regina Saskatchewan Canada
Distribution: gnome
Posts: 1

Rep: Reputation: 0
I can used to be able to login as user but something happened and now I can only login as root. a dialog box pops up saying something to the effect of user not authenticated, or something. I login as user, open terminal typed "su - username" I'm just guessing here, I am a new linux user, and all it tells me is "incorrect password". I'm running gnome if that helps at all. I can't think of anything else I have been looking all through my system trying to figure out how to fix this and I have come up with nothing. I am new at this but it seems as though there are next to no available administrative options for me either. Anyway, I want to throw this piece of metal out the window right now so could someone please help me.

Saje...
 
Old 03-04-2005, 01:39 AM   #6
bunnadik
Member
 
Registered: Jan 2005
Location: Ívik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Perhaps you screwed up your password.
Log in as root and check that the user still exists in /etc/passwd: grep username /etc/passwd
If it does try changing that password: passwd username
If not you've deleted that user and need to re-create it: useradd username (followed by passwd username)

Log in as username

Oh, and gnome is not a distribution (yet) it's a desktop manager (as per your user info).

- Peder
 
Old 03-11-2005, 12:30 PM   #7
mytto
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Rep: Reputation: 0
Quote:
Originally posted by bunnadik
What security level did you choose? The higher ones won't let root log in.
I'm clearly new to Mandrake, but I don't undestand why root can't log in in higher security levels...
Could you please explain in a few words?
 
Old 03-11-2005, 02:31 PM   #8
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Higher security is usually used for non-firewalled internet connected machines and servers.

You don't want anyone compromising your system, therefor root logins are locked out on higher security settings.

Instead you can perform ANY root functions AFTER you log in as a user by "SU" ing to root once logged in.

This still requires that the password be provided, and that the user is a member of the groups permitted to SU...

This adds extra layers of safety to your system.
 
Old 03-11-2005, 11:37 PM   #9
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Quote:
Originally posted by opjose
Instead you can perform ANY root functions AFTER you log in as a user by "SU" ing to root once logged in.
That is the way BSD usually works. I have to log in as dale first then su to root. It requires you to know more than one password that way, the user and root, instead of just one, root. It is more secure because you may can guess one but guessing both would be harder.

Later

 
  


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
problem logging in cegha Mandriva 3 07-20-2005 11:25 PM
DNS Logging Problem JJX Linux - Networking 0 04-15-2004 10:22 AM
user logging problem brijesh Linux - General 1 07-10-2003 10:36 AM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 02:55 AM
problem logging in gchua Linux - General 3 10-11-2001 03:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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