diff --git a/auth.py b/auth.py index c7c0bf5..411cc71 100644 --- a/auth.py +++ b/auth.py @@ -9,4 +9,4 @@ def authenticate(u, p): def get_real_users(): f = [i.split(":") for i in open("/etc/shadow").read().split("\n")] - return [i[0] for i in filter(lambda a: len(a) > 1, f) if not(i[1] in ["*", "!"])] \ No newline at end of file + return [i[0] for i in filter(lambda a: len(a) > 1, f) if not(i[1] in ["*", "!", "!!", "!*"])] \ No newline at end of file