use useradd in make install

This commit is contained in:
z3APA3A 2018-04-25 17:30:10 +03:00
parent f860ea9e54
commit 73438cc378

View File

@ -129,8 +129,7 @@ install-log:
fi
install: install-bin install-chroot-dir install-etc install-log install-man install-run install-init
@getent group proxy || addgroup proxy
@getent passwd proxy || adduser --disabled-password --disabled-login --no-create-home --shell /bin/false --gecos 3proxy --ingroup proxy proxy
@getent passwd proxy || useradd -UMr -s /bin/false -c 3proxy proxy
@if [ ! -f $(INSTALL_CFG_DEST)/passwd ]; then \
touch $(INSTALL_CFG_DEST)/passwd;\
stty -echo ;\