Commit e2b5f082 by Oliver Pinter

allow cloud user to sudo

parent 943345bc
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
export LOGLEVEL=DEBUG export LOGLEVEL=DEBUG
pkg install -y devel/git lang/python devel/py-pip sysutils/screen editors/vim-lite pkg install -y devel/git lang/python devel/py-pip sysutils/screen editors/vim-lite security/sudo
grep "^cloud:" /etc/passwd > /dev/null grep "^cloud:" /etc/passwd > /dev/null
ret=$? ret=$?
...@@ -13,6 +13,8 @@ then ...@@ -13,6 +13,8 @@ then
pw group mod wheel -m cloud pw group mod wheel -m cloud
fi fi
sed -i '.orig' -e 's/# \(%wheel ALL=(ALL) ALL\)/\1/g' /usr/local/etc/sudoers
if [ ! -d /usr/ports ] if [ ! -d /usr/ports ]
then then
git clone https://github.com/HardenedBSD/freebsd-ports.git /usr/ports git clone https://github.com/HardenedBSD/freebsd-ports.git /usr/ports
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment