diff options
author | bfox <bfox> | 2001-08-08 19:39:04 +0000 |
---|---|---|
committer | bfox <bfox> | 2001-08-08 19:39:04 +0000 |
commit | f68909c3c4c26d800a902b54d44d6bebe1667111 (patch) | |
tree | fc5a40ab9e256c8536cb58dd4f2e3df60eb8d6ab /textw/userauth_text.py | |
parent | 50a361911856b89273c69e6f2359db7264e5408c (diff) | |
download | anaconda-f68909c3c4c26d800a902b54d44d6bebe1667111.tar.gz anaconda-f68909c3c4c26d800a902b54d44d6bebe1667111.tar.xz anaconda-f68909c3c4c26d800a902b54d44d6bebe1667111.zip |
turn off user entry screen in text installs
Diffstat (limited to 'textw/userauth_text.py')
-rw-r--r-- | textw/userauth_text.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/textw/userauth_text.py b/textw/userauth_text.py index f0bf52d2c..adc5f8b87 100644 --- a/textw/userauth_text.py +++ b/textw/userauth_text.py @@ -15,6 +15,7 @@ from snack import * from constants_text import * from translate import _ import iutil +from flags import flags class RootPasswordWindow: def __call__ (self, screen, rootPw, accounts): @@ -80,6 +81,13 @@ class UsersWindow: pass2 = Entry (10, user["password"], password = 1) fullname = Entry (20, user["name"], scroll = 1) + if flags.reconfig: + flag = FLAGS_SET + userid.setFlags(FLAG_DISABLED, flag) + pass1.setFlags(FLAG_DISABLED, flag) + pass2.setFlags(FLAG_DISABLED, flag) + fullname.setFlags(FLAG_DISABLED, flag) + if edit: title = _("Edit User") helptag = "edituser" |