mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 15:59:41 +08:00
fix adding proxy account
This commit is contained in:
1 parent
31062bdc3c
commit
c5abe51e26
2 files changed
+2
-2
No files matched your search
@@ -1,4 +1,4 @@
|
||||
if [ -x /usr/sbin/useradd ]; then \
|
||||
/usr/bin/getent group proxy >/dev/null || (/usr/sbin/groupadd -f -r proxy || true); \
|
||||
/usr/bin/getent passwd proxy >/dev/null || (/usr/sbin/useradd -UMr -s /bin/false -c 3proxy proxy || true); \
|
||||
/usr/bin/getent passwd proxy >/dev/null || (/usr/sbin/useradd -Mr -s /bin/false -g proxy -c 3proxy proxy || true); \
|
||||
fi
|
||||
Reference in new issue
Block a user