Sudoers » History » Version 3

« Previous - Version 3/4 (diff) - Next » - Current version
Anonymous, 08/06/2008 11:19 AM


= Sudoers =

sudo as user ''root
Allow 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'': {{{
  1. Allow members of the group "procksi_admin" to su to any user
  2. having to authenticate themselves with their own password
    %procksi_admin localhost,master01=(ALL) ALL
    }}}
sudo as user ''procksi''
Allow members of the group "procksi_dev" to sudo to user "procksi" without entering a password {{{
  1. Allow members of the group "procksi_dev" to su to user "procksi"
  2. without having to authenticate themselves
    %procksi_dev localhost,master01=(procksi) NOPASSWD:ALL
    }}}

Usage for instance as:

{{{

sudo -u procksi whoami

procksi
}}}