From 081d3e3b5b347275d75ecd8935cd6d51403d5ed3 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 8 Apr 2022 10:24:31 +0200 Subject: [PATCH] wip #5220 --- bin/install | 1 + etc/sudoers | 1 + 2 files changed, 2 insertions(+) create mode 100644 etc/sudoers 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 -- 2.39.5