Fedora Linux Support Community & Resources Center
  #31  
Old 16th April 2012, 09:17 PM
stevea Online
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,905
linuxfirefox
Re: su -incorrect password

To verify you have the correct passwd etc - try to login as root in a virtual terminal
<ctrl+alt+f2> to get there
<ctrl+alt+f1> to get back.

If that passwd is OK for rot login there, then it SHOULD be OK for 'su'.

Your pam.d/su file looks UP but we should also see the /etc/pam.d/system-auth
We are interested in the 'auth' entries. so your su file like ....
Quote:
auth sufficient pam_rootok.so
# ...
auth include system-auth
Just says that root succeeds (pam_rootok) w/o as passwd. Everyone else has to pass the '/etc/pam.d//system-auth' criteria.


look in /var/log/secure to see what when wrong with the pam authentication.
Some of the pam hurdles are base on uid number, whether you are in the 'wheel' group and more.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #32  
Old 1st April 2014, 03:35 PM
MarceLinux Offline
Registered User
 
Join Date: Feb 2005
Posts: 3
windows_xp_2003firefox
Re: su -incorrect password

I have the same problem, using Fedora 17, with # su or #su - root , return Incorrect Password.
If I do Ctl - Alt - F5 and login as root, pasword is accepted.
Also when I remote login via SSH, root password is accepted.
Following is the error as seen in /var/log/secure:

Quote:
Apr 1 11:22:57 aquanta2 sshd[130921]: Accepted password for administrador from 172.22.1.28 port 2048 ssh2
Apr 1 11:22:57 aquanta2 sshd[130921]: pam_unix(sshd:session): session opened for user administrador by (uid=0)
Apr 1 11:23:02 aquanta2 unix_chkpwd[130985]: check pass; user unknown
Apr 1 11:23:07 aquanta2 unix_chkpwd[130986]: check pass; user unknown
Apr 1 11:23:07 aquanta2 unix_chkpwd[130986]: password check failed for user (root)
Apr 1 11:23:07 aquanta2 su: pam_unix(su:auth): authentication failure; logname=administrador uid=1000 euid=1000 tty=pts/2 ruser=administrador rhost= user=root
Apr 1 11:23:07 aquanta2 su: pam_succeed_if(su:auth): requirement "uid >= 1000" not met by user "root"

Last edited by MarceLinux; 1st April 2014 at 04:19 PM.
Reply With Quote
Reply

Tags
incorrect, password

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Printer Issues--Password May Be Incorrect salixman Hardware & Laptops 1 1st December 2010 08:53 PM
checkgmail incorrect username or password bharat211 Using Fedora 2 20th October 2009 02:41 PM
Skype Incorrect Password chrisg Using Fedora 0 22nd February 2009 07:25 PM
Incorrect root password? srr Using Fedora 5 3rd April 2008 10:42 PM
su: incorrect password hapaboy Security and Privacy 3 18th November 2005 11:55 PM


Current GMT-time: 11:25 (Monday, 20-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Prunedale Travel Photos - Cirie Photos - Jiexiu