Sometimes, we need to check status user password in our Solaris system whether user is lock, user never log in and password never change.
Below is command to check and sample output
# cat /etc/passwd | awk -F: '{print $1}' | xargs -i passwd -s {}
root PS
daemon LK
bin LK
sys NL
adm NL
lp LK
uucp LK
nuucp LK
smmsp LK
listen LK
gdm LK
webservd LK
postgres NL
svctag LK
nobody LK
noaccess LK
nobody4 LK
No comments:
Post a Comment