Wednesday, June 17, 2009

Recording Failed Login Attempts

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:

Custom Search

Feeds from my other blog

Samsung S2 Brand new for 25900 White piece sealed box

For Sale, Mobile Phones - Accessories in India, Andhra Pradesh, Hyderabad. Date September 17

For Sale in Hyderabad