[sudo-users] How userA can run userB's script

Helmut Hullen Hullen at t-online.de
Tue Apr 28 03:02:00 EDT 2009


Hallo, christian.peper,

Du meintest am 28.04.09:

>> -----Original Message-----
>> I have userA and userB on the system. There is a process
>> running with userA's ID and I would like the process to run a
>> script owned by userB with userB's password.

[...]

> Why does userA need to run the script with userB's passwd?
> Sudo will let userA run the script owned by userB on machine B
> without the need for a passwd. Isn't that enough?

I have this problem around PHP scripts. They are run from the webserver  
(most times apache), but if I want (p.e.) to change a user's password  
then it's a good idea to run this special script with the user's ID and  
password.
I'm looking for a solution too ...

Viele Gruesse!
Helmut



More information about the sudo-users mailing list