Commit 2968f563 authored by Cooper, Caleb's avatar Cooper, Caleb

Update rse-bash-modules.sh

parent a3eec0c1
......@@ -67,7 +67,7 @@ func_rse_make_sudo_account() {
done
if [[ ! -e /etc/sudoers.d/${NEW_ACCOUNT} ]]; then
echo "${NEW_ACCOUNT} ALL=(ALL:ALL) NOPASSWD:ALL" > /tmp/${NEW_ACCOUNT}.sudo
chown root:root /tmp/${NEW_ACCOUNT}.sudo
sudo chown root:root /tmp/${NEW_ACCOUNT}.sudo
sudo mv /tmp/${NEW_ACCOUNT}.sudo /etc/sudoers.d/${NEW_ACCOUNT}
fi
fi
......
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 to comment