linux - Grep Shadow File Meaning -
will please me output of following code?
egrep -v '.*:\*|:\!' /etc/shadow |awk -f: '{print $1}'
why don't try it?
it's list of users have password.
other users have *
or !
after name:
in /etc/shadow
file.
Comments
Post a Comment