Hello I'd like to list all real users on Linux/*nix and it's data. I probably need to parse /etc/passwd
and /etc/shadow
and check if user have password.
The problem is that is not cross-platform (on *BSD there is no /etc/shadow
). Is there any cross-platform library/command I can use?