[CentOS] su path hard coded?

Stephen Harris lists at spuddy.org
Mon Jul 23 19:18:31 UTC 2012


On Mon, Jul 23, 2012 at 02:14:45PM -0500, Les Mikesell wrote:
> Can't you use the usual approach of 'su -' to pick up the target
> user's login environment?

It's "su -" that causes the 'su' comman to rewrite the PATH to the
hardcoded default.

-- 

rgds
Stephen



More information about the CentOS mailing list