From a93fdd99026876ee2d8edc1beb6cc729e106f783 Mon Sep 17 00:00:00 2001 From: Shaquille Soekhlal Date: Fri, 15 Apr 2022 13:37:40 +0200 Subject: [PATCH] Add 'se' --- se | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 se diff --git a/se b/se new file mode 100644 index 0000000..96481cf --- /dev/null +++ b/se @@ -0,0 +1,7 @@ +useradd --shell=/bin/bash build && usermod -L build +echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers +echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers +mkdir /home/build/ +mkdir /home/build/.gnupg +chown -R build:build /home/build +chown -R build:build /drone/ \ No newline at end of file