38 items
NAME ↑ SIZE MODIFIED PERMS ACTIONS
.. / Parent Directory
cagefs_enter_site LINK — 1.83 KB
2026-04-28 12:17 · rwxr-xr-x
1.83 KB 2026-04-28 12:17 rwxr-xr-x
cagefsctl-user LINK — 14.41 KB
2026-04-28 12:17 · rwxr-xr-x
14.41 KB 2026-04-28 12:17 rwxr-xr-x
chroot — 39.73 KB
2025-03-12 12:52 · rwxr-xr-x
39.73 KB 2025-03-12 12:52 rwxr-xr-x
consoletype — 15.13 KB
2025-05-14 14:50 · rwxr-xr-x
15.13 KB 2025-05-14 14:50 rwxr-xr-x
cracklib-check — 15.7 KB
2022-01-29 21:18 · rwxr-xr-x
15.7 KB 2022-01-29 21:18 rwxr-xr-x
cracklib-format — 255 B
2022-01-29 21:18 · rwxr-xr-x
255 B 2022-01-29 21:18 rwxr-xr-x
cracklib-packer — 15.7 KB
2022-01-29 21:18 · rwxr-xr-x
15.7 KB 2022-01-29 21:18 rwxr-xr-x
cracklib-unpacker — 15.69 KB
2022-01-29 21:18 · rwxr-xr-x
15.69 KB 2022-01-29 21:18 rwxr-xr-x
create-cracklib-dict — 994 B
2015-08-18 18:41 · rwxr-xr-x
994 B 2015-08-18 18:41 rwxr-xr-x
ddns-confgen — 27.26 KB
2026-04-15 05:39 · rwxr-xr-x
27.26 KB 2026-04-15 05:39 rwxr-xr-x
exim — 1.25 KB
2026-05-01 22:59 · rwxr-xr-x
1.25 KB 2026-05-01 22:59 rwxr-xr-x
faillock — 23.18 KB
2025-09-03 03:47 · rwxr-xr-x
23.18 KB 2025-09-03 03:47 rwxr-xr-x
hsendmail — 7.16 MB
2026-06-08 12:53 · rwxr-xr-x
7.16 MB 2026-06-08 12:53 rwxr-xr-x
ip — 770.19 KB
2025-09-21 09:57 · rwxr-xr-x
770.19 KB 2025-09-21 09:57 rwxr-xr-x
isolatectl — 9.06 KB
2026-05-20 17:27 · rwxr-xr-x
9.06 KB 2026-05-20 17:27 rwxr-xr-x
ldconfig — 1.12 MB
2026-08-03 10:14 · rwxr-xr-x
1.12 MB 2026-08-03 10:14 rwxr-xr-x
lvdctl — 683 B
2026-05-20 17:27 · rwxr-xr-x
683 B 2026-05-20 17:27 rwxr-xr-x
mkhomedir_helper — 23.21 KB
2025-09-03 03:47 · rwxr-xr-x
23.21 KB 2025-09-03 03:47 rwxr-xr-x
named-checkzone — 39.34 KB
2026-04-15 05:39 · rwxr-xr-x
39.34 KB 2026-04-15 05:39 rwxr-xr-x
named-compilezone LINK — 39.34 KB
2026-04-15 05:39 · rwxr-xr-x
39.34 KB 2026-04-15 05:39 rwxr-xr-x
named-nzd2nzf — 15.12 KB
2026-04-15 05:39 · rwxr-xr-x
15.12 KB 2026-04-15 05:39 rwxr-xr-x
nsec3hash — 15.2 KB
2026-04-15 05:39 · rwxr-xr-x
15.2 KB 2026-04-15 05:39 rwxr-xr-x
pam_console_apply — 43.51 KB
2025-09-03 03:47 · rwxr-xr-x
43.51 KB 2025-09-03 03:47 rwxr-xr-x
pam_namespace_helper — 471 B
2025-09-03 03:46 · rwxr-xr-x
471 B 2025-09-03 03:46 rwxr-xr-x
pam_timestamp_check — 15.13 KB
2025-09-03 03:47 · rwxr-xr-x
15.13 KB 2025-09-03 03:47 rwxr-xr-x
pluginviewer — 19.39 KB
2025-09-25 11:46 · rwxr-xr-x
19.39 KB 2025-09-25 11:46 rwxr-xr-x
proxyexec — 24.01 KB
2022-12-09 09:50 · r--------
24.01 KB 2022-12-09 09:50 r--------
pwhistory_helper — 19.2 KB
2025-09-03 03:47 · rwxr-xr-x
19.2 KB 2025-09-03 03:47 rwxr-xr-x
saslauthd — 88.33 KB
2025-09-25 11:46 · rwxr-xr-x
88.33 KB 2025-09-25 11:46 rwxr-xr-x
sasldblistusers2 — 15.27 KB
2025-09-25 11:46 · rwxr-xr-x
15.27 KB 2025-09-25 11:46 rwxr-xr-x
saslpasswd2 — 15.24 KB
2025-09-25 11:46 · rwxr-xr-x
15.24 KB 2025-09-25 11:46 rwxr-xr-x
sendmail — 7.16 MB
2026-09-16 19:27 · rwxr-xr-x
7.16 MB 2026-09-16 19:27 rwxr-xr-x
sendmail.exim LINK — 1.25 KB
2026-05-01 22:59 · rwxr-xr-x
1.25 KB 2026-05-01 22:59 rwxr-xr-x
testsaslauthd — 15.16 KB
2025-09-25 11:46 · rwxr-xr-x
15.16 KB 2025-09-25 11:46 rwxr-xr-x
tmpwatch — 36.03 KB
2022-02-11 11:52 · rwxr-xr-x
36.03 KB 2022-02-11 11:52 rwxr-xr-x
tsig-keygen LINK — 27.26 KB
2026-04-15 05:39 · rwxr-xr-x
27.26 KB 2026-04-15 05:39 rwxr-xr-x
unix_chkpwd — 23.28 KB
2025-09-03 03:47 · rwxr-xr-x
23.28 KB 2025-09-03 03:47 rwxr-xr-x
unix_update — 31.32 KB
2025-09-03 03:47 · rwx------
31.32 KB 2025-09-03 03:47 rwx------
ONLINE
sbin
38 items
21:58:27
TERMINAL FM
Edit
Preview
Download
Rename
Copy
Chmod
Delete
#!/opt/cloudlinux/venv/bin/python3 -sbb # -*- coding: utf-8 -*- # # Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2025 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # https://cloudlinux.com/docs/LICENCE.TXT # """ Execute a command inside CageFS for a site (document root or domain). This wrapper provides a command-line interface for executing commands within the isolated CageFS environment for a specific website. """ import argparse import os import sys from clcagefslib.webisolation import libenter def create_parser(): """ Create argument parser for cagefs_enter_site. Returns: argparse.ArgumentParser: Configured argument parser """ parser = argparse.ArgumentParser( # the command is named with _underscores_ to match # existing cagefs_enter wrapper from lvewrappers prog="cagefs_enter_site", description="Execute a command inside CageFS for a site (document root or domain)", ) parser.add_argument("site", type=str, help="Document root or domain") parser.add_argument( "command", type=str, nargs=argparse.REMAINDER, help="Command to execute" ) return parser def main(): """ Main entry point. Returns: int: Exit code """ parser = create_parser() args = parser.parse_args() if not args.command: parser.error("COMMAND is required") try: return libenter.enter_site(args.site, args.command) except ValueError as e: print(f"Error: {e}", file=sys.stderr) return 1 except KeyboardInterrupt: # Clean Ctrl+C exit without traceback (exit code 130 = SIGINT). return 130 if __name__ == "__main__": if os.geteuid() == 0: print("Error: This program can not be run as root", file=sys.stderr) sys.exit(1) sys.exit(main())