Do I understand sudo correctly?

Todd C. Miller Todd.Miller at
Tue Feb 22 15:06:38 EST 2000

In message <38B2E371.79A28B68 at>
	so spake Chris Hobbs (chobbs):

> If I write a Perl script which verifies that they're attempting to deal
> with a student's account, have that script call passwd, smbpasswd, etc,
> and give the teachers the ability to use sudo to run that script as
> root, that will have the desired effect, correct? And they still won't
> be able to run passwd, smbpasswd, etc directly as root, right?

Correct.  You would only give the users access to run that script.

 - todd

More information about the sudo-users mailing list