Adding /sbin and /usr/sbin to everyone's path in F10

Axel Thimm Axel.Thimm at ATrpms.net
Wed Apr 23 19:47:29 UTC 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080423/d96bd0d1/attachment.sig>


More information about the fedora-devel-list mailing list