Creating loginlog file
# touch /var/adm/loginlog
Changing permissions
# chmod 600 /var/adm/login.log
# vi /etc/default/logins
edit the following
* RETRIES=3
Note: you can change the retries as per your requirement.
# vi /etc/security/policy.conf
edit the following
* LOCK_AFTER_RETRIES=NO (Change it to YES)
The failed login tries are logged in here
# cat /var/adm/default/login
No comments:
Post a Comment