Sudoers » History » Version 3
« Previous -
Version 3/4
(diff) -
Next » -
Current version
Anonymous, 08/06/2008 11:19 AM
= Sudoers =
sudo as user ''rootAllow members of the group "procksi_admin" to sudo to user "root" with their own password as authentication. Append the following to the end of ''/etc/sudoers'': {{{
- Allow members of the group "procksi_admin" to su to any user
- having to authenticate themselves with their own password
%procksi_admin localhost,master01=(ALL) ALL
}}}
Allow members of the group "procksi_dev" to sudo to user "procksi" without entering a password {{{
- Allow members of the group "procksi_dev" to su to user "procksi"
- without having to authenticate themselves
%procksi_dev localhost,master01=(procksi) NOPASSWD:ALL
}}}
Usage for instance as:
{{{
sudo -u procksi whoami
procksi
}}}