summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/todo.py b/todo.py
index ceb84a575..b685ebbca 100644
--- a/todo.py
+++ b/todo.py
@@ -633,9 +633,15 @@ class ToDo:
def setupAuthentication (self):
args = [ "/usr/sbin/authconfig", "--kickstart", "--nostart" ]
if self.auth.useShadow:
- args.append ("--useshadow")
+ args.append ("--enableshadow")
+ else:
+ args.append ("--disableshadow")
+
if self.auth.useMD5:
args.append ("--enablemd5")
+ else:
+ args.append ("--disablemd5")
+
if self.auth.useNIS:
args.append ("--enablenis")