compile and statically link sudo with noexec

Todd C. Miller Todd.Miller at courtesan.com
Tue Jun 1 21:47:24 EDT 2004


In message <200406020052.i520qC8E029682 at xerxes.courtesan.com>
	so spake "ramick" (ramick):

> How do I compile and statically link sudo with noexec functionality?

When you run configure, pass LDFLAGS=-static in the environment.  E.g.
    env LDFLAGS=-static ./configure configure_args

If you want integrated noexec support you need to use one of the
sudo 1.6.8 beta versions.  Otherwise, with the noexec package you
need to do things like "sudo noexec command".

 - todd



More information about the sudo-users mailing list