From 4e2d4d56ac504e41012e8dd55430fe9fbed5851b Mon Sep 17 00:00:00 2001 From: z3APA3A <3APA3A@3proxy.ru> Date: Thu, 1 Aug 2019 16:43:56 +0300 Subject: [PATCH] Do not add admin user by default --- Makefile.Linux | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile.Linux b/Makefile.Linux index 36b6a18..6ca5ec7 100644 --- a/Makefile.Linux +++ b/Makefile.Linux @@ -137,10 +137,6 @@ install: install-chroot-dir install-bin install-etc install-log install-man inst @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 ;\ - echo "" ;\ - read -p "Proxy admin password: " password && $(INSTALL_CFG_DEST)/add3proxyuser.sh admin $password ;\ - stty echo ;\ fi @chown -R proxy:proxy $(CHROOTDIR) @chmod 550 $(CHROOTDIR)/ @@ -159,6 +155,7 @@ install: install-chroot-dir install-bin install-etc install-log install-man inst @echo Default config uses Google\'s DNS. @echo It\'s recommended to use provider supplied DNS or install local recursor, e.g. pdns-recursor. @echo Configure preferred DNS in $(INSTALL_CFG_DEST)/3proxy.cfg. + @echo run \'$(INSTALL_CFG_DEST)/add3proxyuser.sh admin password\' to configure \'admin\' user @if [ -f /usr/sbin/service ]; then \ /usr/sbin/service 3proxy stop ;\ /usr/sbin/service 3proxy start ;\