On Thu, Apr 23, 2009 at 08:56:45AM +0300, Erez D wrote:
> 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.

'sudo' is what you want.
-- 
Didi


_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to