Sudo

From wikieduonline
Revision as of 07:02, 28 January 2020 by Welcome (talk | contribs) (→‎See also)
Jump to navigation Jump to search

sudo is a program for Unix-like computer operating systems that allows users to run programs with the security privileges of another user.

  • Add user to sudo group: sudo usermod -aG sudo YOUR_USERNAME

Task

  • Allow user YOUR_USER_NAME to run sudo commands without typing the password:

Include in /etc/sudoers, using the visudo command, the following line at the end of the file:

YOUR_USER_NAME ALL=(ALL) NOPASSWD:ALL[1]

Options

See also

  • https://askubuntu.com/questions/192050/how-to-run-sudo-command-with-no-password
  • Advertising: