I have been using a simple script
# mypasswd.sh
/usr/bin/passwd -l
if [[ $? != 0 ]]; then
/usr/bin/logger "Unsuccessful attempt to change password"
else
/usr/bin/logger "Changed login password"
fi
to get syslog entries whenever I change my password. I looked for a
better way but could not find any solutions for this in the archives.
Is there a better way to do this? Please let me know if possible.
Thanks very much,
Vijay
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
[email protected]
---------------------------------------------
This message was sent using ForeTell-POST 4.9