LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Closed Thread
  Search this Thread
Old 08-30-2007, 05:58 PM   #16
dballagh
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
Talking Found Solution


I ran into the same problem on RHEL 4 and found that the user account was disabled by pam_tally. I ran the following command to clear the failed login attempts and now everything is working fine.

pam_tally --user joe --reset
 
Old 11-19-2009, 09:19 PM   #17
homonia
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Rep: Reputation: 0
Hi! I also encountered this problem "su: incorrect password".
Then i find the user (for example: "homonia")to which i wanted to change doesn't have a corresponding record in the file /etc/shadow, so i edit a new line for it in /etc/shadow manually as follows:

(You should log in as root.)
chmod u+w /etc/shadow
echo "homonia:!!:13818:0:99999:7:::" >> /etc/shadow
chmod u-w /etc/shadow

Then it works! I can switch to the user "homonia".

I hope it'll help you. Gook luck!

--------------------------------------
 
Old 11-20-2009, 02:27 AM   #18
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
homonia, we value your time and energy, and encourage you to spend it helping members with current issues. I'm closing this zombie thread so it may rest in peace. Please don't make a habit of necroposting.
 
  


Closed Thread



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 incorrect before password ourlinuxid Linux - Security 4 01-22-2005 01:35 AM
Slack 10 proFTP: Always incorrect password! rsumbeling Linux - Networking 6 11-17-2004 12:43 AM
incorrect password (can single, but can't su) david_reno Linux - Software 2 06-19-2003 09:42 PM
incorrect password when logging in as su - DMB Linux - General 3 07-09-2002 03:00 PM
Logging in as root with incorrect password! Colonel Panic Linux - General 2 08-03-2001 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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