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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux