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

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

php array slice every 2th rule -