diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-01-29 01:08:35 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-01-29 01:08:35 +0800 |
| commit | 280e0a4c3824e219cbed9bfa93a9f5c832b76d4a (patch) | |
| tree | d04edee9fd6e6747188f55a694381e1fb48282af /repos/extra/openssh/postinstall | |
| parent | bf6ca59aae7d92c9c7a6ebdc34a74c40f6b574f2 (diff) | |
| download | alicelinux-280e0a4c3824e219cbed9bfa93a9f5c832b76d4a.tar.gz alicelinux-280e0a4c3824e219cbed9bfa93a9f5c832b76d4a.zip | |
openssh: moved from xorg to extra
Diffstat (limited to 'repos/extra/openssh/postinstall')
| -rwxr-xr-x | repos/extra/openssh/postinstall | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/repos/extra/openssh/postinstall b/repos/extra/openssh/postinstall new file mode 100755 index 00000000..981ce237 --- /dev/null +++ b/repos/extra/openssh/postinstall @@ -0,0 +1,10 @@ +#!/bin/sh + +getent group sshd >/dev/null || groupadd -g 50 sshd +getent passwd messagebus >/dev/null || \ + useradd -c 'sshd PrivSep' \ + -d /var/lib/sshd \ + -g sshd \ + -s /bin/false \ + -u 50 sshd + |