Re: [q] make modules_install as non-root?
From: Horst von Brand
Date: Fri Dec 02 2005 - 10:24:22 EST
Coywolf Qi Hunt <coywolf@xxxxxxxxx> wrote:
> 2005/12/2, Peter Williams <pwil3058@xxxxxxxxxxxxxx>:
[...]
> > Personally, I just use "sudo make install" or "sudo make
> > modules_install" to do installations as an ordinary user. No need for
> > special scripts or modifications to the build procedure.
> That's rather insecure. You have to add /usr/bin/make in your sudoers,
> then an malicious Makefile could do harm. I'm being paranoid. But we
> all are since we avoid to use root.
Oh, come on. If somebody can mess with your kernel sources, you are toast
anyway. No need to doctor a Makefile for that at all.
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/