diff --git a/attributs.py b/attributs.py index 35ce791..d05bee5 100644 --- a/attributs.py +++ b/attributs.py @@ -939,7 +939,8 @@ class loginShell(Attr): '/usr/local/bin/badPassSh', '/usr/bin/passwd', '/bin/false', - '/bin//zsh' + '/bin//zsh', + '/usr/sbin/nologin' ''] if shell not in shells: raise ValueError("Shell %r invalide" % shell)