[sudo-users] How userA can run userB's script
Todd C. Miller
Todd.Miller at courtesan.com
Tue Apr 28 10:14:07 EDT 2009
In message <20FCEE8F-485C-4227-B823-F823BBE55827 at filemaker.com>
so spake (erwin_hom):
> There is a setting in sudoers which lets you use the target user's
> password, i.e.
> Defaults targetpw
> But it seems to be a default behavioral change of 'sudo' that affects
> every users, not just userA, right?
Correct. However, you can bind that option specifically to userA.
and then whenever userA runs sudo he/she will need to use the
password of the user the command is being run as.
More information about the sudo-users