forked from Hello_User/mirror-test
6 lines
214 B
Bash
6 lines
214 B
Bash
#!/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 |