From 73438cc37860c26b8929e7b227c9a6aa4e7d327b Mon Sep 17 00:00:00 2001 From: z3APA3A <3APA3A@3proxy.ru> Date: Wed, 25 Apr 2018 17:30:10 +0300 Subject: [PATCH] use useradd in make install --- Makefile.Linux | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.Linux b/Makefile.Linux index 3bcedc5..5cae88c 100644 --- a/Makefile.Linux +++ b/Makefile.Linux @@ -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 ;\