This commit is contained in:
Ben Harris committed 2018-10-09 02:50:10 -04:00
1 parent a8a5de36f2
commit 58753c7234
38 files changed
+4549 -2523

No files matched your search

+3 -2
View File
@@ -1,5 +1,6 @@
# Return a list of users on this system
def get_users():
# thanks, ~dan!
users = []
@@ -8,5 +9,5 @@ def get_users():
if "/bin/bash" in line:
u = line.split(":")[0] # Grab all text before first ':'
users.append(u)
return users
return users