summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-05-12 22:20:53 +0000
committerErik Troan <ewt@redhat.com>2000-05-12 22:20:53 +0000
commit9772a2eb1fdb4e3adf5c0d7954ecaf4f624f0f58 (patch)
tree0d99e630aa82f97bd7e63807e4065f59f0d472f6
parent1798911b3b96f739bbacd30c8ea232c794f5a600 (diff)
downloadanaconda-9772a2eb1fdb4e3adf5c0d7954ecaf4f624f0f58.tar.gz
anaconda-9772a2eb1fdb4e3adf5c0d7954ecaf4f624f0f58.tar.xz
anaconda-9772a2eb1fdb4e3adf5c0d7954ecaf4f624f0f58.zip
give a better error when user tries to add the root user
-rw-r--r--iw/account_gui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/iw/account_gui.py b/iw/account_gui.py
index d3f3924ca..342850c9b 100644
--- a/iw/account_gui.py
+++ b/iw/account_gui.py
@@ -57,6 +57,8 @@ class AccountWindow (InstallWindow):
else:
if not accountName:
self.userPwLabel.set_text("")
+ elif accountName == "root":
+ self.userPwLabel.set_text (_("Root account can not be added here."))
elif not password1 and not password2:
self.userPwLabel.set_text (_("Please enter user password."))
elif len (password1) < 6: