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

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

c++ - Serialize a class with a Qlist of custom classes as member (using QDataStream) -

Read video using VideoReader function in Matlab? -