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

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



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: pgpUNiojFONuY.pgp
Description: PGP signature


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