Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 193011 Details for
Bug 286901
[RFE] make crypted root passwords the default in Kickstart files
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
add support for --plaintext and --lock to pykickstart
286901.patch (text/plain), 2.54 KB, created by
Chris Lumens
on 2007-09-11 20:44:53 UTC
(
hide
)
Description:
add support for --plaintext and --lock to pykickstart
Filename:
MIME Type:
Creator:
Chris Lumens
Created:
2007-09-11 20:44:53 UTC
Size:
2.54 KB
patch
obsolete
>Index: pykickstart/data.py >=================================================================== >RCS file: /usr/local/CVS/pykickstart/pykickstart/Attic/data.py,v >retrieving revision 1.23 >diff -u -p -r1.23 data.py >--- pykickstart/data.py 16 Oct 2006 20:25:00 -0000 1.23 >+++ pykickstart/data.py 11 Sep 2007 20:32:11 -0000 >@@ -3,7 +3,7 @@ > # > # Chris Lumens <clumens@redhat.com> > # >-# Copyright 2005, 2006 Red Hat, Inc. >+# Copyright 2005, 2006, 2007 Red Hat, Inc. > # > # This software may be freely redistributed under the terms of the GNU > # general public license. >@@ -47,7 +47,7 @@ class KickstartData: > self.network = [] > self.platform = "" > self.reboot = {"action": KS_WAIT, "eject": False} >- self.rootpw = {"isCrypted": False, "password": ""} >+ self.rootpw = {"isCrypted": False, "password": "", "lock": False} > self.selinux = SELINUX_ENFORCING > self.services = {"disabled": [], "enabled": []} > self.skipx = False >@@ -162,6 +162,7 @@ class KickstartUserData: > self.password = "" > self.shell = "" > self.uid = None >+ self.lock = False > > class KickstartVolGroupData: > def __init__(self): >Index: pykickstart/parser.py >=================================================================== >RCS file: /usr/local/CVS/pykickstart/pykickstart/parser.py,v >retrieving revision 1.51 >diff -u -p -r1.51 parser.py >--- pykickstart/parser.py 1 Dec 2006 15:52:18 -0000 1.51 >+++ pykickstart/parser.py 11 Sep 2007 20:32:11 -0000 >@@ -3,7 +3,7 @@ > # > # Chris Lumens <clumens@redhat.com> > # >-# Copyright 2005, 2006 Red Hat, Inc. >+# Copyright 2005, 2006, 2007 Red Hat, Inc. > # > # This software may be freely redistributed under the terms of the GNU > # general public license. >@@ -792,6 +792,8 @@ class KickstartHandlers: > op = KSOptionParser(lineno=self.lineno) > op.add_option("--iscrypted", dest="isCrypted", action="store_true", > default=False) >+ op.add_option("--lock", dest="lock", action="store_true", default=False) >+ op.add_option("--plaintext", dest="isCrypted", action="store_false") > > (opts, extra) = op.parse_args(args=args) > self._setToDict(op, opts, self.ksdata.rootpw) >@@ -866,6 +868,8 @@ class KickstartHandlers: > op.add_option("--password") > op.add_option("--shell") > op.add_option("--uid", type="int") >+ op.add_option("--lock", dest="lock", action="store_true", default=False) >+ op.add_option("--plaintext", dest="isCrypted", action="store_false") > > (opts, extra) = op.parse_args(args=args) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 286901
: 193011