How find user with empty password in Linux?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
This is a shorter and more precise version of AndreKR's answer:
It has only one call to
If you only want truly empty:
If you have GNU
or
|
||||
|
|
|
Their entry in |
|||
|
|
|
Encrypted password is the second field in /etc/shadow. If second field is empty, then password empty:
|
||||
|
|