suid root - bash script
Valery Reznic
valery_reznic at yahoo.com
Thu Apr 23 08:59:29 IDT 2009
--- On Thu, 4/23/09, Erez D <erez0001 at gmail.com> wrote:
> From: Erez D <erez0001 at gmail.com>
> Subject: suid root - bash script
> To: "linux-il" <linux-il at cs.huji.ac.il>
> 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
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
More information about the Linux-il
mailing list