X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=Makefile;h=5a05cc49f51f40cab4aa2870767e891d479ba9b4;hp=3b0035268352a4e705ecc347aa7645fde83a05f1;hb=86dfd386746913dd29db7c03873bc68534f66b98;hpb=b7886437ea53a9984c59832a0194fa7e31aa0895 diff --git a/Makefile b/Makefile index 3b0035268..5a05cc49f 100644 --- a/Makefile +++ b/Makefile @@ -63,8 +63,8 @@ SELFSERVICE_USER = fs_selfservice #user with sudo access on SELFSERVICE_MACHINES for automated self-service #installation. SELFSERVICE_INSTALL_USER = ivan -SELFSERVICE_INSTALL_USERADD = useradd -#SELFSERVICE_INSTALL_USERADD = "pw useradd" +SELFSERVICE_INSTALL_USERADD = /usr/sbin/useradd +#SELFSERVICE_INSTALL_USERADD = "/usr/sbin/pw useradd" RT_ENABLED = 0 #RT_ENABLED = 1 @@ -178,7 +178,8 @@ install-selfservice: ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; perl Makefile.PL && make" ;\ ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; sudo make install" ;\ scp ~freeside/.ssh/id_dsa.pub ${SELFSERVICE_INSTALL_USER}@$$MACHINE:. ;\ - ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "sudo $SELFSERVICE_INSTALL_USERADD freeside; sudo install -D -o freeside -m 600 ./id_dsa.pub ~freeside/.ssh/authorized_keys" ;\ + ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "sudo ${SELFSERVICE_INSTALL_USERADD} freeside; sudo install -D -o freeside -m 600 ./id_dsa.pub ~freeside/.ssh/authorized_keys" ;\ + ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "sudo install -o freeside -d /usr/local/freeside" ;\ done install: install-perl-modules install-docs install-init install-rt