[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Rationale



On Sun, 30 Nov 2003 23:01:35 +0100, John Smith wrote:

> Hi All,
> 
> 	checked google, asked this before on irc, didn't get a 
> usable answer (can't find any use of /etc/login.defs).
> 
> 	What is the rationale behind the PATH environment variable?
> Running woody I get 
> 
> /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
> 
> as a normal user. As root I get
> 
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
> /usr/bin/X11
> 
> Thinking security I would expect them the other way around. 
> So /bin:/usr/bin:/usr/local/bin and /sbin:/bin:/usr/sbin:/usr/bin:
> /usr/local/sbin:/usr/local/bin
> Mind you: I do not want this changed, just explained.
> 
> Anybody care to enlighten me ;-) ?
> 
> Sincerely,
> 
> Jan.
> 
> "Did anybody know 2.6 is not cat proof?"

The sbins contain sysadmin commands

/sbin: system binaries
/usr/sbin: non-essential standard system binaries

See the Filesystem Hierarchy Standard (in the debian-policy package) for
more detail.

-- 
....................paul

"The average lifespan of a Web page today is 100 days. This is no way to
run a culture."

Internet Archive Board Chairman




Reply to: