{ 3 comments… read them below or add one }

1 Aaron C December 8, 2011

From the top of /etc/pam.d/system-auth:

#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.

Is there another place these options should be set so that authconfig does not clobber them? Right now, as a work around, I am going to `chattr +i /etc/pam.d/system-auth`.

Thanks,
Aaron

Reply

2 Yongzhi Pan January 8, 2012

Aaron C, Just edit this file and do not use authconfig.

It should be noted this will not effect for ssh remote login. You should put it in `sshd’ pam config file for this.

Reply

3 Yongzhi Pan January 8, 2012

“Append following AUTH configuration to /etc/pam.d/system-auth file”

This does not work. I have tested it. Even if the fails are recorded, login is not denied at all. The modules are tried in the order list. You have to prepend it before any ‘auth’ to use it.

Another note, we should be using the newer pam_tally2.so module.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 12 + 4 ?
Please leave these two fields as-is:
Are you a human being? Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: