Results 1 to 1 of 1

Thread: Changed /etc/pam.d/system-auth-ac and now you can log into the server with wrong password.

  1. #1
    Junior Member
    Join Date
    Nov 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Changed /etc/pam.d/system-auth-ac and now you can log into the server with wrong password.

    I changed the /etc/pam.d/system-auth-ac like below and now you do not have to put in the right password to long into the server. What am I doing wrong?

    Code:
    # This file is auto-generated.
    # User changes will be destroyed the next time authconfig is run.
    auth        required      pam_env.so
    auth        sufficient    pam_unix.so nullok try_first_pass
    #auth        requisite     pam_succeed_if.so uid >= 500 quiet
    #auth        required      pam_deny.so
    #auth        sufficient    pam_fprintd.so
    auth        required      pam_tally2.so deny=3 onerr=fail unlock_time=300
    account     required      pam_tally2.so
    account     required      pam_unix.so
    #account     sufficient    pam_succeed_if.so uid < 500 quiet
    #account     sufficient    pam_localuser.so
    account     required      pam_permit.so
    password    requisite     pam_cracklib.so try_first_pass retry=3 minlen=8 ucredit=1 dcredit=1 lcredit=2 difok=5
    password    sufficient    pam_unix.so sha512 shadow nullok try_first_pass rememeber=8 use_authtok
    password    required      pam_deny.so
    session     optional      pam_keyinit.so revoke
    session     required      pam_limits.so
    session     [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
    session     required      pam_unix.so
    Last edited by nixcraft; 28th November 2012 at 12:28 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Solved] Lighttpd auth on root server
    By x-crs in forum Web servers
    Replies: 6
    Last Post: 4th February 2010, 11:55 PM
  2. Replies: 3
    Last Post: 15th November 2008, 10:13 AM
  3. How to lock the root account? if password is wrong
    By arulkumar in forum CentOS / RHEL / Fedora
    Replies: 2
    Last Post: 24th July 2008, 06:03 PM
  4. NTP syncronizing time with server wrong
    By mjhundraindra in forum Linux software
    Replies: 4
    Last Post: 11th September 2007, 10:37 AM
  5. Replies: 2
    Last Post: 6th July 2006, 11:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41