Linux mail.vriendennsm.nl 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64
Apache/2.4.68 (Debian)
Server IP : 217.154.75.17 & Your IP : 216.73.217.167
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
cloudinit /
distros /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-07-12 06:55
parsers
[ DIR ]
drwxr-xr-x
2026-07-12 06:55
__init__.py
42.64
KB
-rw-r--r--
2022-11-23 21:17
almalinux.py
174
B
-rw-r--r--
2022-11-23 21:17
alpine.py
6.73
KB
-rw-r--r--
2022-11-23 21:17
amazon.py
615
B
-rw-r--r--
2022-11-23 21:17
arch.py
8.34
KB
-rw-r--r--
2022-11-23 21:17
bsd.py
4.91
KB
-rw-r--r--
2022-11-23 21:17
bsd_utils.py
1.42
KB
-rw-r--r--
2022-11-23 21:17
centos.py
174
B
-rw-r--r--
2022-11-23 21:17
cloudlinux.py
174
B
-rw-r--r--
2022-11-23 21:17
cos.py
270
B
-rw-r--r--
2022-11-23 21:17
debian.py
13.36
KB
-rw-r--r--
2022-11-23 21:17
dragonflybsd.py
253
B
-rw-r--r--
2022-11-23 21:17
eurolinux.py
174
B
-rw-r--r--
2022-11-23 21:17
fedora.py
460
B
-rw-r--r--
2022-11-23 21:17
freebsd.py
6.4
KB
-rw-r--r--
2022-11-23 21:17
gentoo.py
8.95
KB
-rw-r--r--
2022-11-23 21:17
mariner.py
1.72
KB
-rw-r--r--
2022-11-23 21:17
miraclelinux.py
174
B
-rw-r--r--
2022-11-23 21:17
net_util.py
6.42
KB
-rw-r--r--
2022-11-23 21:17
netbsd.py
4.43
KB
-rw-r--r--
2022-11-23 21:17
networking.py
11.06
KB
-rw-r--r--
2022-11-23 21:17
openEuler.py
174
B
-rw-r--r--
2022-11-23 21:17
openbsd.py
1.86
KB
-rw-r--r--
2022-11-23 21:17
openmandriva.py
260
B
-rw-r--r--
2022-11-23 21:17
opensuse.py
6.78
KB
-rw-r--r--
2022-11-23 21:17
photon.py
4.74
KB
-rw-r--r--
2022-11-23 21:17
rhel.py
7.08
KB
-rw-r--r--
2022-11-23 21:17
rhel_util.py
1.44
KB
-rw-r--r--
2022-11-23 21:17
rocky.py
174
B
-rw-r--r--
2022-11-23 21:17
sles.py
270
B
-rw-r--r--
2022-11-23 21:17
ubuntu.py
1.5
KB
-rw-r--r--
2022-11-23 21:17
ug_util.py
9.8
KB
-rw-r--r--
2022-11-23 21:17
virtuozzo.py
174
B
-rw-r--r--
2022-11-23 21:17
Save
Rename
# Copyright (C) 2019-2020 Gonéri Le Bouder # # This file is part of cloud-init. See LICENSE file for license information. import os import cloudinit.distros.netbsd from cloudinit import log as logging from cloudinit import subp, util LOG = logging.getLogger(__name__) class Distro(cloudinit.distros.netbsd.NetBSD): hostname_conf_fn = "/etc/myname" init_cmd = ["rcctl"] def _read_hostname(self, filename, default=None): return util.load_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] def manage_service(self, action: str, service: str): """ Perform the requested action on a service. This handles OpenBSD's 'rcctl'. May raise ProcessExecutionError """ init_cmd = self.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) 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): pass def _get_pkg_cmd_environ(self): """Return env vars used in OpenBSD package_command operations""" e = os.environ.copy() return e # vi: ts=4 expandtab