List user accounts with a login shell
list users who can log in linux | show users with bash shell | find accounts with shell access | awk | users | auditawk -F: '$7 !~ /(nologin|false)$/ {print $1, $3, $6, $7}' /etc/passwdParses /etc/passwd and prints the username, UID, home directory and shell of every account that has a real login shell. Expected are root and your own admin accounts. On Plesk, system users of subscriptions that were granted SSH access also appear.
Note: An unknown account with /bin/bash is a warning sign. Accounts that come from LDAP or similar sources are not listed in this file.
Also searched as
- list users who can log in linux
- show users with bash shell
- find accounts with shell access