[CentOS] su path hard coded?
Les Mikesell
lesmikesell at gmail.comMon Jul 23 19:33:17 UTC 2012
- Previous message: [CentOS] su path hard coded?
- Next message: [CentOS] su path hard coded?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Jul 23, 2012 at 2:18 PM, Stephen Harris <lists at spuddy.org> wrote: > 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. > But it should be executing the target user's .profile which can override it. '-' should be a synonym for -l or --login. -- Les Mikesell lesmikesell at gmail.com
- Previous message: [CentOS] su path hard coded?
- Next message: [CentOS] su path hard coded?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list