Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python2.7 /
site-packages /
ipalib /
install /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.py
71
B
-rw-r--r--
2020-04-02 03:45
__init__.pyc
146
B
-rw-r--r--
2023-06-13 03:24
__init__.pyo
146
B
-rw-r--r--
2023-06-13 03:24
certmonger.py
24.96
KB
-rw-r--r--
2020-04-02 03:45
certmonger.pyc
22.9
KB
-rw-r--r--
2023-06-13 03:24
certmonger.pyo
22.9
KB
-rw-r--r--
2023-06-13 03:24
certstore.py
14.24
KB
-rw-r--r--
2023-06-13 03:19
certstore.pyc
11.48
KB
-rw-r--r--
2023-06-13 03:24
certstore.pyo
11.48
KB
-rw-r--r--
2023-06-13 03:24
hostname.py
1.66
KB
-rw-r--r--
2020-04-02 03:45
hostname.pyc
1.84
KB
-rw-r--r--
2023-06-13 03:24
hostname.pyo
1.84
KB
-rw-r--r--
2023-06-13 03:24
kinit.py
4.43
KB
-rw-r--r--
2020-04-02 03:45
kinit.pyc
4.1
KB
-rw-r--r--
2023-06-13 03:24
kinit.pyo
4.1
KB
-rw-r--r--
2023-06-13 03:24
service.py
4.55
KB
-rw-r--r--
2020-04-02 03:45
service.pyc
6.15
KB
-rw-r--r--
2023-06-13 03:24
service.pyo
6.15
KB
-rw-r--r--
2023-06-13 03:24
sysrestore.py
13.42
KB
-rw-r--r--
2020-04-02 03:45
sysrestore.pyc
13.37
KB
-rw-r--r--
2023-06-13 03:24
sysrestore.pyo
13.37
KB
-rw-r--r--
2023-06-13 03:24
Save
Rename
# # Copyright (C) 2016 FreeIPA Contributors see COPYING for license # """ Base service installer module """ from ipalib.util import validate_domain_name from ipapython.install import common, core, typing from ipapython.install.core import group, knob def prepare_only(obj): """ Decorator which makes an installer attribute appear only in the prepare phase of the install """ obj.__exclude__ = getattr(obj, '__exclude__', set()) | {'enroll'} return obj def enroll_only(obj): """ Decorator which makes an installer attribute appear only in the enroll phase of the install """ obj.__exclude__ = getattr(obj, '__exclude__', set()) | {'prepare'} return obj def master_install_only(obj): """ Decorator which makes an installer attribute appear only in master install """ obj.__exclude__ = getattr(obj, '__exclude__', set()) | {'replica_install'} return obj def replica_install_only(obj): """ Decorator which makes an installer attribute appear only in replica install """ obj.__exclude__ = getattr(obj, '__exclude__', set()) | {'master_install'} return obj def _does(cls, arg): def remove(name): def removed(self): raise AttributeError(name) return property(removed) return type( cls.__name__, (cls,), { n: remove(n) for n in dir(cls) if arg in getattr(getattr(cls, n), '__exclude__', set()) } ) def prepares(cls): """ Returns installer class stripped of attributes not related to the prepare phase of the install """ return _does(cls, 'prepare') def enrolls(cls): """ Returns installer class stripped of attributes not related to the enroll phase of the install """ return _does(cls, 'enroll') def installs_master(cls): """ Returns installer class stripped of attributes not related to master install """ return _does(cls, 'master_install') def installs_replica(cls): """ Returns installer class stripped of attributes not related to replica install """ return _does(cls, 'replica_install') @group class ServiceInstallInterface(common.Installable, common.Interactive, core.Composite): """ Interface common to all service installers """ description = "Basic" domain_name = knob( str, None, description="primary DNS domain of the IPA deployment " "(not necessarily related to the current hostname)", cli_names='--domain', ) @domain_name.validator def domain_name(self, value): validate_domain_name(value) servers = knob( # pylint: disable=invalid-sequence-index typing.List[str], None, description="FQDN of IPA server", cli_names='--server', cli_metavar='SERVER', ) realm_name = knob( str, None, description="Kerberos realm name of the IPA deployment (typically " "an upper-cased name of the primary DNS domain)", cli_names='--realm', ) @realm_name.validator def realm_name(self, value): validate_domain_name(value, entity="realm") host_name = knob( str, None, description="The hostname of this machine (FQDN). If specified, the " "hostname will be set and the system configuration will " "be updated to persist over reboot. By default the result " "of getfqdn() call from Python's socket module is used.", cli_names='--hostname', ) ca_cert_files = knob( # pylint: disable=invalid-sequence-index typing.List[str], None, description="load the CA certificate from this file", cli_names='--ca-cert-file', cli_metavar='FILE', ) replica_file = knob( str, None, description="a file generated by ipa-replica-prepare", ) replica_file = replica_install_only(replica_file) dm_password = knob( str, None, sensitive=True, description="Directory Manager password (for the existing master)", ) class ServiceAdminInstallInterface(ServiceInstallInterface): """ Interface common to all service installers which require admin user authentication """ principal = knob( str, None, ) principal = enroll_only(principal) principal = replica_install_only(principal) admin_password = knob( str, None, sensitive=True, ) admin_password = enroll_only(admin_password)