Commit f72e6df2 by Czémán Arnold

openbsd: add doas config

parent 64410ebb
...@@ -13,7 +13,11 @@ then ...@@ -13,7 +13,11 @@ then
useradd -g cloud -G wheel -m cloud useradd -g cloud -G wheel -m cloud
fi fi
#sed -i '.orig' -e 's/# \(%wheel ALL=(ALL) ALL\)/\1/g' /usr/local/etc/sudoers grep " :wheel" /etc/doas.conf 2>&1 > /dev/null
ret=$?
if [ $ret -ne 0 ]; then
echo "permit nopass keepenv :wheel" >> /etc/doas.conf
fi
mkdir -p /store mkdir -p /store
mkdir -p /etc/circle mkdir -p /etc/circle
......
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