Set initial header level to <h2> explicitly because after removing
HEADER.rst top level headers become <h1> and so doesn't properly highlighted.
.. -*- coding: utf-8; -*-
=======
sudo.
=======
.. contents::
:local:
Stop sudo asking for password.
==============================
::
username ALL =(ALL) NOPASSWD: ALL
or::
@group ALL =(ALL) NOPASSWD: ALL
Change user/primary group for executed command.
===============================================
::
$ sudo -u $user -g $group $command
To allow this plase in /etc/sudoers::
username ALL =(ALL:ALL) NOPASSWD: ALL