summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-06-07 17:32:34 +0000
committerChris Lumens <clumens@redhat.com>2007-06-07 17:32:34 +0000
commit287401bdae1a48f900cadd4048e185ea46781734 (patch)
tree22dcb2ab43da0ae54b5b72740e513d4038be4e83 /kickstart.py
parentdc97e9b70e553ef8cde6c926279e2e67de0bde2c (diff)
downloadanaconda-287401bdae1a48f900cadd4048e185ea46781734.tar.gz
anaconda-287401bdae1a48f900cadd4048e185ea46781734.tar.xz
anaconda-287401bdae1a48f900cadd4048e185ea46781734.zip
Lock accounts if asked (#240059).
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/kickstart.py b/kickstart.py
index 6c1dd2ab6..6024b22aa 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -557,12 +557,13 @@ class Raid(commands.raid.F7_Raid):
addPartRequest(self.handler.anaconda, request)
self.handler.skipSteps.extend(["partition", "zfcpconfig", "parttype"])
-class RootPw(commands.rootpw.FC3_RootPw):
+class RootPw(commands.rootpw.F8_RootPw):
def parse(self, args):
- commands.rootpw.FC3_RootPw.parse(self, args)
+ commands.rootpw.F8_RootPw.parse(self, args)
self.handler.id.rootPassword["password"] = self.password
self.handler.id.rootPassword["isCrypted"] = self.isCrypted
+ self.handler.id.rootPassword["lock"] = self.lock
self.handler.skipSteps.append("accounts")
class SELinux(commands.selinux.FC3_SELinux):
@@ -701,7 +702,7 @@ commandMap = {
"timezone": Timezone,
"upgrade": Upgrade,
"url": commands.method.FC6_Method,
- "user": commands.user.FC6_User,
+ "user": commands.user.F8_User,
"vnc": commands.vnc.FC6_Vnc,
"volgroup": VolGroup,
"xconfig": XConfig,