On Sun, Feb 04, 2001 at 09:44:43AM -0500, jteich wrote:
> I wanted to run a shell script program that needs to run with root permissions, and
>I wanted to
> be able to start this script without su'ing. I tried to set the suid bit on the
>program, but I
> found out that the suid bit only works
jteich wrote:
>
> I wanted to run a shell script program that needs to run with root permissions, and
>I wanted to
> be able to start this script without su'ing. I tried to set the suid bit on the
>program, but I
> found out that the suid bit only works for binary executables. Then I wrote a
you must setuid() before you run the program through system(). man setuid.
On Sun, 4 Feb 2001, jteich wrote:
> I wanted to run a shell script program that needs to run with root permissions, and
>I wanted to
> be able to start this script without su'ing. I tried to set the suid bit on the
>pro
I wanted to run a shell script program that needs to run with root permissions, and I
wanted to
be able to start this script without su'ing. I tried to set the suid bit on the
program, but I
found out that the suid bit only works for binary executables. Then I wrote a simple c
program
that s