Linux sh52.ich-4.com 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64
LiteSpeed
Server IP : 198.143.147.58 & Your IP : 216.73.217.21
Domains :
Cant Read [ /etc/named.conf ]
User : actualbuzz
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python3.9 /
site-packages /
cloudinit /
distros /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-02-03 14:59
package_management
[ DIR ]
drwxr-xr-x
2026-02-03 14:59
parsers
[ DIR ]
drwxr-xr-x
2026-02-03 14:59
OpenCloudOS.py
277
B
-rw-r--r--
2024-11-25 16:09
TencentOS.py
277
B
-rw-r--r--
2024-11-25 16:09
__init__.py
65.64
KB
-rw-r--r--
2026-02-02 09:03
almalinux.py
151
B
-rw-r--r--
2024-11-25 16:09
alpine.py
24.35
KB
-rw-r--r--
2024-11-25 16:09
amazon.py
907
B
-rw-r--r--
2024-11-25 16:09
aosc.py
4.38
KB
-rw-r--r--
2024-11-25 16:09
arch.py
4.92
KB
-rw-r--r--
2024-11-25 16:09
azurelinux.py
2.35
KB
-rw-r--r--
2024-11-25 16:09
bsd.py
6.34
KB
-rw-r--r--
2024-11-25 16:09
bsd_utils.py
1.41
KB
-rw-r--r--
2024-11-25 16:09
centos.py
151
B
-rw-r--r--
2024-11-25 16:09
cloudlinux.py
151
B
-rw-r--r--
2024-11-25 16:09
cos.py
247
B
-rw-r--r--
2024-11-25 16:09
debian.py
10.6
KB
-rw-r--r--
2024-11-25 16:09
dragonflybsd.py
230
B
-rw-r--r--
2024-11-25 16:09
eurolinux.py
151
B
-rw-r--r--
2024-11-25 16:09
fedora.py
437
B
-rw-r--r--
2024-11-25 16:09
freebsd.py
8.53
KB
-rw-r--r--
2024-11-25 16:09
gentoo.py
4.57
KB
-rw-r--r--
2024-11-25 16:09
mariner.py
1.7
KB
-rw-r--r--
2024-11-25 16:09
miraclelinux.py
151
B
-rw-r--r--
2024-11-25 16:09
netbsd.py
5.51
KB
-rw-r--r--
2024-11-25 16:09
networking.py
10.81
KB
-rw-r--r--
2024-11-25 16:09
openbsd.py
2.37
KB
-rw-r--r--
2024-11-25 16:09
openeuler.py
275
B
-rw-r--r--
2024-11-25 16:09
openmandriva.py
237
B
-rw-r--r--
2024-11-25 16:09
opensuse-leap.py
247
B
-rw-r--r--
2024-11-25 16:09
opensuse-microos.py
247
B
-rw-r--r--
2024-11-25 16:09
opensuse-tumbleweed.py
247
B
-rw-r--r--
2024-11-25 16:09
opensuse.py
9.96
KB
-rw-r--r--
2024-11-25 16:09
photon.py
5.36
KB
-rw-r--r--
2024-11-25 16:09
rhel.py
7.98
KB
-rw-r--r--
2024-11-25 16:09
rhel_util.py
1.4
KB
-rw-r--r--
2024-11-25 16:09
rocky.py
151
B
-rw-r--r--
2024-11-25 16:09
sle-micro.py
247
B
-rw-r--r--
2024-11-25 16:09
sle_hpc.py
247
B
-rw-r--r--
2024-11-25 16:09
sles.py
247
B
-rw-r--r--
2024-11-25 16:09
suse.py
81
B
-rw-r--r--
2024-11-25 16:09
ubuntu.py
2.32
KB
-rw-r--r--
2024-11-25 16:09
ug_util.py
9.77
KB
-rw-r--r--
2024-11-25 16:09
virtuozzo.py
151
B
-rw-r--r--
2024-11-25 16:09
Save
Rename
# Copyright (C) 2019-2020 Gonéri Le Bouder # # This file is part of cloud-init. See LICENSE file for license information. import logging import cloudinit.distros.netbsd from cloudinit import subp, util LOG = logging.getLogger(__name__) class Distro(cloudinit.distros.netbsd.NetBSD): hostname_conf_fn = "/etc/myname" init_cmd = ["rcctl"] # For OpenBSD (from https://man.openbsd.org/passwd.5) a password field # of "" indicates no password, and password field values of either # "*" or "*************" (13 "*") indicate differing forms of "locked" # but with no password defined. shadow_empty_locked_passwd_patterns = [ r"^{username}::", r"^{username}:\*:", r"^{username}:\*\*\*\*\*\*\*\*\*\*\*\*\*:", ] def _read_hostname(self, filename, default=None): return util.load_text_file(self.hostname_conf_fn) def _write_hostname(self, hostname, filename): content = hostname + "\n" util.write_file(self.hostname_conf_fn, content) def _get_add_member_to_group_cmd(self, member_name, group_name): return ["usermod", "-G", group_name, member_name] @classmethod def manage_service(cls, action: str, service: str, *extra_args, rcs=None): """ Perform the requested action on a service. This handles OpenBSD's 'rcctl'. May raise ProcessExecutionError """ init_cmd = cls.init_cmd cmds = { "stop": ["stop", service], "start": ["start", service], "enable": ["enable", service], "disable": ["disable", service], "restart": ["restart", service], "reload": ["restart", service], "try-reload": ["restart", service], "status": ["check", service], } cmd = list(init_cmd) + list(cmds[action]) return subp.subp(cmd, capture=True, rcs=rcs) def lock_passwd(self, name): try: subp.subp(["usermod", "-p", "*", name]) except Exception: util.logexc(LOG, "Failed to lock user %s", name) raise def unlock_passwd(self, name): LOG.debug( "OpenBSD password lock is not reversible, " "ignoring unlock for user %s", name, ) def _get_pkg_cmd_environ(self): """Return env vars used in OpenBSD package_command operations""" return {}