diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-06-29 23:15:54 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-06-29 23:15:54 +0800 |
| commit | ae4593e20cef97c7323d522b40994a59425cd6d5 (patch) | |
| tree | 7b3e8750bbbfa32e917869e325027108ee59ee85 /repos/xorg/openssh/postinstall | |
| parent | b5aa76f45da627817380276080b2b8bba6e74f68 (diff) | |
| download | alicelinux-ae4593e20cef97c7323d522b40994a59425cd6d5.tar.gz alicelinux-ae4593e20cef97c7323d522b40994a59425cd6d5.zip | |
added xorg repo
Diffstat (limited to 'repos/xorg/openssh/postinstall')
| -rwxr-xr-x | repos/xorg/openssh/postinstall | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/repos/xorg/openssh/postinstall b/repos/xorg/openssh/postinstall new file mode 100755 index 00000000..981ce237 --- /dev/null +++ b/repos/xorg/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 + |