Tips - Linux - PAM - pam_tally.so - Configuring Access.conf
You can configure pam_tally.so using /etc/security/access.conf
The file is well commented and following is an excerpt from it:
#
# Disallow console logins to all but a few accounts.
#
#-:ALL EXCEPT wheel shutdown sync:LOCAL
#
# Disallow non-local logins to privileged accounts (group wheel).
#
#-:wheel:ALL EXCEPT LOCAL .tue.tw
#
# Some accounts are not allowed to login from anywhere:
#
#-:wsbscaro wsbsecr wsbspac wsbsym wscosor wstaiwde:ALL
#
# All other accounts are allowed to login from anywhere.
0 Comments:
Post a Comment
<< Home