sbin and PATH

Colin Watson cjwatson at canonical.com
Tue Sep 7 17:35:09 CDT 2004


On Wed, Sep 08, 2004 at 05:46:24AM +0800, John wrote:
> Matt Zimmerman wrote:
> >On Thu, Sep 02, 2004 at 07:35:51PM -0700, Matt Zimmerman wrote:
> >>1. Add {,/usr{,/local}}/sbin to the default PATH and be done with it
> >
> >This seems to be the consensus.  Unfortunately, setting the default path is
> >historically a nightmare in Unix-ish systems.  I think we need to change at
> >least the following:
> >
> >- /etc/profile
> 
> RHL (and some others) have /etc/profile.d where packages (and site 
> admins) can plonk .sh and .csh fragments to be sourced in turn. Someone 
> (not me) tried to get the Debian maintainer to do this, but he declined. 
> I guess it's not the Debian Way.

That's because Debian packages must not rely on any environment
variables to work (so have no need of /etc/profile.d), and site admins
can just as easily edit /etc/profile directly.

-- 
Colin Watson                                    [cjwatson at canonical.com]




More information about the sounder mailing list