From: Vincent Vanwaelscappel Date: Fri, 8 Apr 2022 08:24:31 +0000 (+0200) Subject: wip #5220 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=081d3e3b5b347275d75ecd8935cd6d51403d5ed3;p=fluidbook_processfarm.git wip #5220 --- diff --git a/bin/install b/bin/install index e9e6213..d186908 100755 --- a/bin/install +++ b/bin/install @@ -3,4 +3,5 @@ chmod 755 /usr/local/fluidbook_processfarm/bin/* groupadd fluidbookfarmer || true useradd fluidbookfarmer -g fluidbookfarmer --home /usr/local/fluidbook_processfarm -s /bin/bash || true mkdir -p /usr/local/fluidbook_processfarm/files +cp /usr/local/fluidbook_processfarm/etc/sudoers /etc/sudoers.d/fluidbook_processfarm /usr/local/fluidbook_processfarm/bin/update \ No newline at end of file diff --git a/etc/sudoers b/etc/sudoers new file mode 100644 index 0000000..d072046 --- /dev/null +++ b/etc/sudoers @@ -0,0 +1 @@ +fluidbookfarmer ALL=(ALL) NOPASSWD: /usr/local/fluidbook_processfarm/bin/update \ No newline at end of file