[mdlug] How can I set up a process initiated by another user to execute as my user ID?

Wojtak, Greg GregWojtak at quickenloans.com
Mon Apr 16 13:08:56 EDT 2007


Actually, that's 4755... 1755 sets the sticky bit.


On 4/16/07 12:17 PM, "Aaron Kulkis" <akulkis3 at hotpop.com> wrote:

> gib at juno.com wrote:
>>  
>> 
>> How can I set up a process initiated by another user to execute as my
>> user ID?
>> 
>> I have a process that logs into an ftp server with my user ID and my
>> password but I don't want to provide my password to someone else.  How
>> can I allow someone else to execute this process?
>> 
> 
> I'm assuming that it's compiled code, and not a shell script.
> 
> If so, just make sure that YOU are the owner of the executable,
> and then use chmod to set the "set User ID" (setuid) bit.
> 
> chmod 1755 executable_file
> 
> 
> 
> 
>> Alternatively, can I set up a process that will be able to read the
>> password from a secure location without the user seeing it?
> Yes, same way.
> 
> 
> 
> 
> 
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug



More information about the mdlug mailing list