set up working user
This commit is contained in:
parent
c7f2b8e9d2
commit
b8d90f2f8f
6
run.sh
6
run.sh
@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
USERNAME="sneak"
|
||||
|
||||
set -x
|
||||
set -e
|
||||
exec 1> >(tee -a /var/log/sandboxbuild.log) 2>&1
|
||||
@ -207,3 +209,7 @@ PIP_PKGS="
|
||||
for PKG in $PIP_PKGS; do
|
||||
pip3 install $PKG
|
||||
done
|
||||
|
||||
groupadd -g 1000 $USERNAME
|
||||
useradd -u 1000 -g 1000 -s /bin/bash $USERNAME
|
||||
usermod -p '*' $USERNAME
|
||||
|
Loading…
Reference in New Issue
Block a user