pykickstart.commands.user
index
/usr/lib/python2.6/site-packages/pykickstart/commands/user.py

# Chris Lumens <clumens@redhat.com>
#
# Copyright 2007 Red Hat, Inc.
#
# This copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the GNU
# General Public License v.2.  This program is distributed in the hope that it
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
# implied warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  Any Red Hat
# trademarks that are incorporated in the source code or documentation are not
# subject to the GNU General Public License and may only be used or replicated
# with the express permission of Red Hat, Inc. 
#

 
Modules
       
gettext
imputil
re
string
sys
warnings

 
Classes
       
pykickstart.base.BaseData(pykickstart.ko.KickstartObject)
FC6_UserData
F8_UserData
F12_UserData
pykickstart.base.KickstartCommand(pykickstart.ko.KickstartObject)
FC6_User
F8_User
F12_User

 
class F12_User(F8_User)
    
Method resolution order:
F12_User
F8_User
FC6_User
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from FC6_User:
__init__(self, writePriority=0, *args, **kwargs)
__str__(self)
dataList(self)
parse(self, args)

Methods inherited from pykickstart.base.KickstartCommand:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of KickstartCommand at once
via keyword arguments.  Valid attributes are anything specified in
a subclass, but unknown attributes will be ignored.
apply(self, instroot='/')
Write out the configuration related to the KickstartCommand object.
Subclasses which do not provide this method will not have their
configuration written out.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class F12_UserData(F8_UserData)
    
Method resolution order:
F12_UserData
F8_UserData
FC6_UserData
pykickstart.base.BaseData
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, *args, **kwargs)

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from FC6_UserData:
__eq__(self, y)
__str__(self)

Methods inherited from pykickstart.base.BaseData:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of BaseData at once via
keyword arguments.  Valid attributes are anything specified in a
subclass, but unknown attributes will be ignored.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class F8_User(FC6_User)
    
Method resolution order:
F8_User
FC6_User
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from FC6_User:
__init__(self, writePriority=0, *args, **kwargs)
__str__(self)
dataList(self)
parse(self, args)

Methods inherited from pykickstart.base.KickstartCommand:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of KickstartCommand at once
via keyword arguments.  Valid attributes are anything specified in
a subclass, but unknown attributes will be ignored.
apply(self, instroot='/')
Write out the configuration related to the KickstartCommand object.
Subclasses which do not provide this method will not have their
configuration written out.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class F8_UserData(FC6_UserData)
    
Method resolution order:
F8_UserData
FC6_UserData
pykickstart.base.BaseData
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, *args, **kwargs)

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from FC6_UserData:
__eq__(self, y)
__str__(self)

Methods inherited from pykickstart.base.BaseData:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of BaseData at once via
keyword arguments.  Valid attributes are anything specified in a
subclass, but unknown attributes will be ignored.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FC6_User(pykickstart.base.KickstartCommand)
    
Method resolution order:
FC6_User
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, writePriority=0, *args, **kwargs)
__str__(self)
dataList(self)
parse(self, args)

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from pykickstart.base.KickstartCommand:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of KickstartCommand at once
via keyword arguments.  Valid attributes are anything specified in
a subclass, but unknown attributes will be ignored.
apply(self, instroot='/')
Write out the configuration related to the KickstartCommand object.
Subclasses which do not provide this method will not have their
configuration written out.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FC6_UserData(pykickstart.base.BaseData)
    
Method resolution order:
FC6_UserData
pykickstart.base.BaseData
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__eq__(self, y)
__init__(self, *args, **kwargs)
__str__(self)

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from pykickstart.base.BaseData:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of BaseData at once via
keyword arguments.  Valid attributes are anything specified in a
subclass, but unknown attributes will be ignored.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        BOOTPROTO_BOOTP = 'bootp'
BOOTPROTO_DHCP = 'dhcp'
BOOTPROTO_QUERY = 'query'
BOOTPROTO_STATIC = 'static'
CLEARPART_TYPE_ALL = 1
CLEARPART_TYPE_LINUX = 0
CLEARPART_TYPE_NONE = 2
DEVEL = 11000
DISPLAY_MODE_CMDLINE = 0
DISPLAY_MODE_GRAPHICAL = 1
DISPLAY_MODE_TEXT = 2
F10 = 8000
F11 = 9000
F12 = 10000
F13 = 11000
F7 = 5000
F8 = 6000
F9 = 7000
FC3 = 1000
FC4 = 2000
FC5 = 3000
FC6 = 4000
FIRSTBOOT_DEFAULT = 0
FIRSTBOOT_RECONFIG = 2
FIRSTBOOT_SKIP = 1
GROUP_ALL = 2
GROUP_DEFAULT = 1
GROUP_REQUIRED = 0
KS_INSTKEY_SKIP = -99
KS_MISSING_IGNORE = 1
KS_MISSING_PROMPT = 0
KS_REBOOT = 1
KS_SCRIPT_POST = 1
KS_SCRIPT_PRE = 0
KS_SCRIPT_TRACEBACK = 2
KS_SHUTDOWN = 2
KS_WAIT = 0
RHEL3 = 900
RHEL4 = 1100
RHEL5 = 4100
RHEL6 = 11100
SELINUX_DISABLED = 0
SELINUX_ENFORCING = 1
SELINUX_PERMISSIVE = 2
SUPPRESS_HELP = 'SUPPRESSHELP'
SUPPRESS_USAGE = 'SUPPRESSUSAGE'
versionMap = {'DEVEL': 11000, 'F10': 8000, 'F11': 9000, 'F12': 10000, 'F13': 11000, 'F7': 5000, 'F8': 6000, 'F9': 7000, 'FC3': 1000, 'FC4': 2000, ...}