Re: daemon-less kmod & Alpha no-go!

David Woodhouse (Dave@imladris.demon.co.uk)
Tue, 21 Apr 1998 13:19:56 +0200


>
>
> On Tue, 21 Apr 1998, David Woodhouse wrote:
>
> >
> >
> > What does it do if your script is:
> >
> > #!/bin/sh
> > shift
> > exec /sbin/modprobe.real $*
>
> Bingo. It does not work if exec-ed, only when called. What would be the
> root cause of this?
>

Try inserting a setuid(0) call before you exec modprobe.real - you'll probably
have to write your wrapper in C.

---- ---- ----
David Woodhouse, Robinson College, CB3 9AN, England. (+44) 0976 658355
Dave@imladris.demon.co.uk http://www.imladris.demon.co.uk
finger pgp@dwmw2.robinson.cam.ac.uk for PGP key.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu