summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-01-22 04:30:48 +0000
committerMatt Wilson <msw@redhat.com>2001-01-22 04:30:48 +0000
commit22780c80907141228e07a778ab5bf7eea7e30377 (patch)
tree1c46e2ca96160a84cc0769054af720b7bd8cbc74 /todo.py
parent8c1812e4f55e756e83f095134e925458ab0a8902 (diff)
downloadanaconda-22780c80907141228e07a778ab5bf7eea7e30377.tar.gz
anaconda-22780c80907141228e07a778ab5bf7eea7e30377.tar.xz
anaconda-22780c80907141228e07a778ab5bf7eea7e30377.zip
eep -- don't always change root's password\!
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/todo.py b/todo.py
index e7600e616..a1ef17b4d 100644
--- a/todo.py
+++ b/todo.py
@@ -1233,7 +1233,7 @@ class ToDo:
devnull = os.open("/dev/null", os.O_RDWR)
- argv = [ "/usr/sbin/usermod", "-p", password, "root" ]
+ argv = [ "/usr/sbin/usermod", "-p", password, account ]
iutil.execWithRedirect(argv[0], argv, root = self.instPath,
stdout = '/dev/null', stderr = None)
os.close(devnull)