From e38aac75bf946ada64e781a6f93fbfbf9a951929 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Tue, 14 May 2013 18:00:41 +0200 Subject: [PATCH] [attributs.shell] Ajout d'un shell --- attributs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)