--- On Thu, 4/23/09, Erez D <[email protected]> wrote:

> From: Erez D <[email protected]>
> Subject: suid root - bash script
> To: "linux-il" <[email protected]>
> Date: Thursday, April 23, 2009, 8:56 AM
> hi
> 
> i have a bush script i want to be run with root permisions,
> no matter which user executes it.
> 
> if it was a binary, i would only need set it suid root.
> 
> but as it is a bash script, suid-ing it doesn't do
> anything, and suid-ing /bin/bash itself will make all
> scripts run suid root, which is surly not what i want.
> 
> 
> 
> there must be a solution for that.
> 
> anyone ?
sudo ?

Valery

> 
> 
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> Linux-il mailing list
> [email protected]
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> 


      

_______________________________________________
Linux-il mailing list
[email protected]
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to