06 July 2007

Visudo

Using sudo with groups

1.

# Cmnd alias specification
Cmnd_Alias USER_SU = /usr/bin/su - ngu


2.

At the bottom of the sudoers file.
%ngp ALL = USER_SU



This will allow anyone belonging to group ngp to sudo to user ngu.