diff options
author | Erik Troan <ewt@redhat.com> | 2000-01-18 20:31:30 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-01-18 20:31:30 +0000 |
commit | bdc0b332fc4c950db6a41e7a42fe27da23bfd931 (patch) | |
tree | b42f8c784fd5d0fa1834086a60956b5c47fc9f61 /iw | |
parent | 85466b02ba28cfb96bb2cc0b7d6d00695d7690a5 (diff) | |
download | anaconda-bdc0b332fc4c950db6a41e7a42fe27da23bfd931.tar.gz anaconda-bdc0b332fc4c950db6a41e7a42fe27da23bfd931.tar.xz anaconda-bdc0b332fc4c950db6a41e7a42fe27da23bfd931.zip |
don't let folks create "root" account
Diffstat (limited to 'iw')
-rw-r--r-- | iw/account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iw/account.py b/iw/account.py index 0dd547cea..17cc29c09 100644 --- a/iw/account.py +++ b/iw/account.py @@ -48,7 +48,7 @@ class AccountWindow (InstallWindow): if (password1 and password1 == password2 and self.userAccountMatch.search(accountName) and - len(accountName) <= 8): + len(accountName) <= 8) and accountName != "root": valid = 1 else: valid = 0 |