I feel a little silly having to ask this, but: In Solaris you can issue a passwd -sa command which gives you (more or less) the same output as passwd -S userName does, except it prints out the status information for all users it finds in /etc/passwd. What is the equivalent GNU/Linux command? I'm trying to put together simple instructions for someone else to baseline a server, and part of that is them identifying the password aging configured on all accounts. I can for loop over cut -f1 -d: /etc/passwd but I was hoping there was a simple command I could give him.
Equivalent of passwd -sa in RHEL?
linux;rhel;password