linux-vfio/setupbuild.sh

7 lines
262 B
Bash
Raw Normal View History

2022-03-29 00:32:23 +00:00
useradd --shell=/bin/bash build && usermod -L build
2022-03-28 19:30:06 +00:00
echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
2022-03-29 00:32:23 +00:00
mkdir /home/build/
mkdir /home/build/.gnupg
chown -R build:build /home/build
chown -R build:build /drone/