Adding /sbin and /usr/sbin to everyone's path in F10
Les Mikesell
lesmikesell at gmail.com
Wed Apr 23 19:30:45 UTC 2008
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?
Sudo is pretty much irrelevant here. If you want to keep users sane
(keeping in mind that the user and adminstrator are the same person for
most desktop machines...), everything should work the same if you 'su'
as it does if you 'su -' or sudo.
--
Les Mikesell
lesmikesell at gmail.com
More information about the fedora-devel-list
mailing list