From 9749229d20d0ec7cc45a9092a331c1d1656ae83c Mon Sep 17 00:00:00 2001 From: Shaquille Soekhlal Date: Tue, 29 Mar 2022 02:32:23 +0200 Subject: [PATCH] Update 'setupbuild.sh' --- setupbuild.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setupbuild.sh b/setupbuild.sh index 9a5e1cc..96481cf 100644 --- a/setupbuild.sh +++ b/setupbuild.sh @@ -1,4 +1,7 @@ -useradd --shell=/bin/sh build && usermod -L build +useradd --shell=/bin/bash 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/ +mkdir /home/build/ +mkdir /home/build/.gnupg +chown -R build:build /home/build +chown -R build:build /drone/ \ No newline at end of file