CH-J Server Manager透過 SSH 管理伺服器
選單
已發布的原始碼

CH-J Server Manager

瀏覽特定應用程式版本的目錄與檔案。

下載原始碼 ZIP
CH-J / Server Manager 368 個檔案
core-20261017T201717Z-057348c4a70f 新增時間: 未記錄日期 · 建置時間:
Dockerfile.rocky 新增時間: 未記錄日期 666 B · 9 行
程式碼 下載檔案
1# Isolated RHEL-family test server (wheel group, OpenSSH from the distribution).
2FROM rockylinux:9-minimal
3RUN microdnf install -y openssh-server openssh-clients sudo passwd procps-ng shadow-utils util-linux findutils e2fsprogs xfsprogs && microdnf clean all \
4 && ssh-keygen -A
5RUN useradd -m -s /bin/bash -G wheel admin && echo 'admin:AdminPass-1' | chpasswd \
6 && useradd -m -s /bin/bash nopass && echo 'nopass:NopassPass-1' | chpasswd \
7 && printf 'nopass ALL=(ALL:ALL) NOPASSWD: ALL\n' > /etc/sudoers.d/90-nopass && chmod 440 /etc/sudoers.d/90-nopass \
8 && useradd -m -s /bin/bash plain && echo 'plain:PlainPass-1' | chpasswd
9CMD ["/usr/sbin/sshd", "-D", "-e"]
SHA-2569e87a024f22b11a312d29f86a0c3f255a5549b278f469e60b0ad4b0c5609027c

CH-J Proprietary Software License 1.14 · 原始碼依 CH-J Proprietary Software License 1.14 提供。公開原始碼不會改變授權條款,也不會授予額外的權利。

壓縮檔 SHA-256cf4455b698f0f28e456a37b1834976a0194d8486acb7101052d59a838745cca3
檔案