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

My HTML document is not linking to my CSS stylesheet properly -

php array slice every 2th rule -

node.js - Sending sockets to client side, Error: Converting circular structure to JSON -