python
2.6.6
5.10
2011-09-21T13:44:00
System Accounts Do Not Run a Shell
The root account is the only system account that should have a login shell.
TEST_FILE
^(?!root).*:x:[\d]*:0*([0-9]{1,2}|[1-4][0-9]{2}):[^:]*:[^:]*:(?!\/sbin\/nologin|\/bin\/sync|\/sbin\/shutdown|\/sbin\/halt).*$
1