Add 'setupbuild.sh'

This commit is contained in:
Shaquille Soekhlal 2022-03-28 21:30:06 +02:00
parent afe389886a
commit 1ff7ae43dc

4
setupbuild.sh Normal file
View File

@ -0,0 +1,4 @@
useradd --no-create-home --shell=/bin/sh build && usermod -L build
echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
chown -R build:build /drone/src