Nicolas Williams wrote: > On Wed, Jan 31, 2007 at 09:37:29AM -0800, Hugh McIntyre wrote: > >>> Of course, because shell dot files are scripts whose flow control we >>> could not analyze in such a tool, such a tool would be limited to users >>> whose shell dot files adhere to some conventions (which the account >>> skeleton's would). >>> >> Exactly the point above. Which prevents this being a robust solution. >> > > The convention might be that there's a new dot file where the managed > *PATH variables' settings are stored and that dot files are supposed to > "source" it (or a transformation of it). > > This would only work for users that adhere to this convention. New > users would, and since we're aiming and being friendlier to new users > this might be worthwhile. > > But more than anything I want to know just what is a non-starter w.r.t. > PATH management. Any ideas? > I read it that /bin/login should never provide any other PATH than what is already provided.
I've assumed that it also meant that no changes to the PATH should be done in the default /etc/.login or /etc/profile also but I'm not clear on that. -Kyle
