diff options
Diffstat (limited to 'textw/userauth_text.py')
-rw-r--r-- | textw/userauth_text.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/textw/userauth_text.py b/textw/userauth_text.py index 57023c44c..e5d9380c0 100644 --- a/textw/userauth_text.py +++ b/textw/userauth_text.py @@ -118,6 +118,13 @@ class UsersWindow: pass2.set ("") continue + if userid.value() == "root": + ButtonChoiceWindow(self.screen, _("User Exists"), + _("The root user is already configured. You don't " + "need to add this user here."), + buttons = [ _("OK") ], width = 50) + continue + if self.users.has_key (userid.value ()) and \ userid.value () != currentid: ButtonChoiceWindow(self.screen, _("User Exists"), |