forked from Hello_User/mirror-test
This commit is contained in:
parent
2f2e235203
commit
24cd575b27
6
setupbuild.sh
Normal file
6
setupbuild.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user