On Wed, Apr 23, 2008 at 03:15:08PM -0400, Matthew Miller wrote: > On Wed, Apr 23, 2008 at 10:02:40PM +0300, Axel Thimm wrote: > > sudo has something pointing in the right direction, the "-i" flag. It > > properly initializes to the target user's shell and presents the > > environment that that user would see including the proper PATH: > > Hmmm. What's the advantage of this over building with --with-secure-path? That you get the exact target user's path, not a fixed one. So it also works with sudo -u mmiller -i <command> -- Axel.Thimm at ATrpms.net
Attachment:
pgpfwUTYIZllw.pgp
Description: PGP signature
-- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list