summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-01-19 23:32:11 +0000
committerMatt Wilson <msw@redhat.com>2000-01-19 23:32:11 +0000
commit5ac35109aa5c5e95e415c1e5a4a2759938ea2e7a (patch)
treef436d81c021d4ed63027fda5096a774869de97e0 /iw
parentfb3f9c70ae992ae87d09a523bd76a106f67c51d2 (diff)
downloadanaconda-5ac35109aa5c5e95e415c1e5a4a2759938ea2e7a.tar.gz
anaconda-5ac35109aa5c5e95e415c1e5a4a2759938ea2e7a.tar.xz
anaconda-5ac35109aa5c5e95e415c1e5a4a2759938ea2e7a.zip
don't let users create duplicate root account
Diffstat (limited to 'iw')
-rw-r--r--iw/account.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/iw/account.py b/iw/account.py
index 17cc29c09..176c8d308 100644
--- a/iw/account.py
+++ b/iw/account.py
@@ -82,6 +82,8 @@ class AccountWindow (InstallWindow):
if not (accountName and password1 and (password1 == password2)):
return
+ if accountName == "root":
+ return
if self.passwords.has_key (accountName):
return