firedragon/setupbuild.sh

7 lines
262 B
Bash
Raw Normal View History

2022-04-15 11:06:29 +00:00
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/