[H-GEN] root bash path (in Debian)
Greg Black
gjb at gbch.net
Mon Dec 6 21:04:34 EST 2004
On 2004-12-07, Doug South wrote:
> would it be sufficiently the same (I know it isn't the same, but for
> practical purposes, I'm wondering if it is) to have root's ./~profile
> as
>
> PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH
>
> ? Is there some security thingo I would be violating by doing that?
Better to set it explicitly, with some thought about the order
of the elements; for root, especially, I would not do it the way
you've suggested.
Greg
More information about the General
mailing list