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

Axel Thimm Axel.Thimm at ATrpms.net
Thu Apr 24 06:09:02 UTC 2008


On Wed, Apr 23, 2008 at 03:50:35PM -0400, Matthew Miller wrote:
> On Wed, Apr 23, 2008 at 10:47:29PM +0300, Axel Thimm wrote:
> > > 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>
> 
> I think that's a disadvantage, because you don't know what to expect. Who
> knows what crazy stuff mmiller might put in his path?

Which is why you need a switch to be able to decide. Just like su
has. And like sudo -i.
-- 
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/20080424/219b256e/attachment.sig>


More information about the fedora-devel-list mailing list