{{{ oval_metadata("The root account is the only system account that should have a login shell.") }}}
/etc/login.defs
.*(?:^|\n)\s*(UID_MIN[\s]+[\d]+)\s*(?:$|\n)
1
/etc/login.defs
.*(?:^|\n)\s*(SYS_UID_MIN[\s]+[\d]+)\s*(?:$|\n)
1
/etc/login.defs
.*(?:^|\n)\s*(SYS_UID_MAX[\s]+[\d]+)\s*(?:$|\n)
1
/etc/passwd
^(?!root).*:x:([\d]+):[\d]+:[^:]*:[^:]*:(?!\/usr\/sbin\/nologin|\/sbin\/nologin|\/bin\/sync|\/sbin\/shutdown|\/sbin\/halt|\/bin\/false|\/usr\/bin\/false).*$
1
0