tell the user to chmod +s the file then

JG

Kevin Fonner wrote:
> So with this example you have to kick this script off under root.  Correct?
>  The problem is I would prefer not to have the hastle of going under root.
> 
> J. Grant wrote:
> 
>> as r00t
>> su other-user
>>
>> chmod 700 script.sh
>> chmod +s script.sh
>> exit
>>
>> JG
>>
>> ps be careful this user is aware that someone has access to all their 
>> files, and make sure the script.sh is only -rws--S--- if world has rwx 
>> they basically have the other-user account if there is a mistake in 
>> your scripts
>>
>>
>>


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to