[CentOS] su path hard coded?
Les Mikesell
lesmikesell at gmail.com
Mon Jul 23 19:52:28 UTC 2012
On Mon, Jul 23, 2012 at 2:37 PM, Stephen Harris <lists at spuddy.org> wrote:
> >>
>> But it should be executing the target user's .profile which can
>> override it. '-' should be a synonym for -l or --login.
>
> You've missed the point. I want the ability to set the default path on
> 'su -' to be /bin:/usr/bin and then let the users override if they wish.
> I do not want the default path to be /usr/local/bin:/bin:/usr/bin
>
Yes, I guess I just wouldn't put things in /usr/local/bin if I didn't
want them to be run, so i wouldn't have thought of that...
Rebuilding from the src rpm sounds reasonable in that case.
--
Les Mikesell
lesmikesell at gmail.com
More information about the CentOS
mailing list