To list all non-system "normal" users (the kind that can log in):
awk -F'[/:]' '{if ($3 >= 1000 && $3 != 65534) print $1}' /etc/passwd
Reference: https://askubuntu.com/questions/410244/is-there-a-command-to-list-all-us...
2 / 2023
To list all non-system "normal" users (the kind that can log in):
awk -F'[/:]' '{if ($3 >= 1000 && $3 != 65534) print $1}' /etc/passwd
Reference: https://askubuntu.com/questions/410244/is-there-a-command-to-list-all-us...