LSLOGINS(1) lslogins - lslogins [] [-s|-u[=UID]] [-g ] [-l ] [] wtmp btmp, /etc/shadow ( ) /passwd, . ' lslogins . -l -g, , , . . ' ' . -a, --acc-expiration (. shadow(5), ). ( root.) --btmp-file btmp. -c, --colon-separate , . -e, --export =. . --shell. -f, --failed . -G, --supp-groups . -g, --groups , . ; . . , ' , (, /etc/group). lslogins , , GID . -L, --last , . -l, --logins ( ). ; . . -n, --newline . --noheadings . --notruncate . -o, --output , . , +. --output-all . --help, . -p, --pwd , ' (. -afL). -r, --raw ( ). -s, --system-accs . , , UID 101 999 (), nobody, nfsnobody (UID 65534). SYS_UID_MIN SYS_UID_MAX /etc/login.defs. --time-format , ISO. . . -u, --user-accs . , , UID, 1000 (). UID_MIN UID_MAX /etc/login.defs. -h, --help . -V, --version . --wtmp-file wtmp. --lastlog lastlog(8). -y, --shell , , . , , --export. , --export 2.37, --shell. -Z, --context . -z, --print0 -, . 0 , 1 , 2 (, ). UID /etc/login.defs. . " " The password is prefixed by '!!', and the user cannot login although the password is set or empty. This is common for new accounts without a set password. " ()" The password is not set (hash is missing); this is common for locked system accounts. Not requiring a password does not mean the user can log-in without a password. It depends on the password "lock" status. " " 'yes' means that there is no valid password. The password hash is missing, or the hash method is unknown or contains invalid chars. lslogins logins, ' FreeBSD 4.10. Ondrej Oprala , Karel Zak group(5), passwd(5), shadow(5), utmp(5) lslogins util-linux, Linux . util-linux 2.41.2 2025-09-22 LSLOGINS(1)