http://solarisinterview.blogspot.com/ Solaris interview questions and answers
Recording Failed Login Attempts
# touch /var/adm/loginlog -- File to log incorrect login. If a user tries to login 5 times
(default) with wrong password a entry is created here.
# chown root:sys /var/adm/loginlog
# chmod 600 /var/adm/loginlog
# /usr/ucb/whoami -- Current login name
# who am i -- Login name of the original user
No comments:
Post a Comment