mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 10:35:40 +08:00
use useradd in make install
This commit is contained in:
parent
f860ea9e54
commit
73438cc378
@ -129,8 +129,7 @@ install-log:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
install: install-bin install-chroot-dir install-etc install-log install-man install-run install-init
|
install: install-bin install-chroot-dir install-etc install-log install-man install-run install-init
|
||||||
@getent group proxy || addgroup proxy
|
@getent passwd proxy || useradd -UMr -s /bin/false -c 3proxy proxy
|
||||||
@getent passwd proxy || adduser --disabled-password --disabled-login --no-create-home --shell /bin/false --gecos 3proxy --ingroup proxy proxy
|
|
||||||
@if [ ! -f $(INSTALL_CFG_DEST)/passwd ]; then \
|
@if [ ! -f $(INSTALL_CFG_DEST)/passwd ]; then \
|
||||||
touch $(INSTALL_CFG_DEST)/passwd;\
|
touch $(INSTALL_CFG_DEST)/passwd;\
|
||||||
stty -echo ;\
|
stty -echo ;\
|
||||||
|
Loading…
Reference in New Issue
Block a user