Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Download tscripts,

Code Block
languagebash
sudo su - root
cd ~
/etc/sudoers.d/
sudo wget http://www.bonsaiframework.com/tscripts/01_enable_sudo_for_staff
sudo cp 01_enable_sudo_for_staffchmod o-r /etc/sudoers.d/
rm 01_enable_sudo_for_staff
exit


Manual Method

If you want to create the file manually,

Code Block
languagebash
# Locks its the file for single user access (important in a multi-user system) and validates for syntax errors.
sudo visudo -f /etc/sudoers.d/01_bonsai_disable_password_auth

...