LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-27-2007, 07:58 AM   #1
sashi_jk
LQ Newbie
 
Registered: Jun 2007
Posts: 1

Rep: Reputation: 0
Authentication Problem when logging as a non root user


Hi,

I am not able to log on to the desktop as a non-root user. It is allowing only the root user. For other users, "Authentication Failure" message is getting displayed even though the password is correct.

I tried using the su command. But I get the "Incorrect Password" message . I checked the /etc/passwd/ file for corruptions. But it is perfect..

Any idea of what the problem is and how to correct it???

Thanks in advance.
 
Old 06-28-2007, 12:52 AM   #2
opensourcedevelopmen
LQ Newbie
 
Registered: Jun 2007
Location: Delhi
Distribution: Linux
Posts: 21

Rep: Reputation: 16
Please copy /etc/passwd~ to /etc/passwd and try again
 
Old 06-28-2007, 12:57 AM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Sounds like desktop settings are corrupt in the /home directory. Have you tried to create a new user and see if you can log in with it. If you can log into graphical as root you can probably go through administrative tasks GUI or from command line as root with command:
Code:
adduser jimbob
Jimbob would be the name of the new user, you can change it if you don't like it, kinda hard to type. You will be prompted to enter a password for the new user, accept default recommendations, log out and log in as the new user. If the new user cannot log in also, you may need to remove and reinstall your display manager.
 
  


Reply



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
having trouble logging in as the root user thebiggiantmouse Linux - Newbie 3 06-29-2006 09:15 AM
switching between user and root without logging out redhat_marsi Linux - Newbie 7 06-13-2005 10:38 AM
Logging in as root user in the shell with suse 9.1 OverTheTop Linux - Newbie 1 07-15-2004 01:44 PM
Problems logging in as root user mdk 9.1 czechknight93 Mandriva 2 03-20-2004 12:53 AM
Logging On As Root User BACTRATE Mandriva 6 02-16-2004 10:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:41 AM.

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