]> _ Git - fluidbook_processfarm.git/commitdiff
wip #5220
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 8 Apr 2022 08:24:31 +0000 (10:24 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 8 Apr 2022 08:24:31 +0000 (10:24 +0200)
bin/install
etc/sudoers [new file with mode: 0644]

index e9e62139bf1924f982d1a92c2a3a9265fde2f922..d186908213d96eeb8c2a7cf2e3d73af03ebb16c4 100755 (executable)
@@ -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 (file)
index 0000000..d072046
--- /dev/null
@@ -0,0 +1 @@
+fluidbookfarmer    ALL=(ALL) NOPASSWD: /usr/local/fluidbook_processfarm/bin/update
\ No newline at end of file