There is nothing more annoying than su'ing to root and discovering that
even simple things like md5 and ping aren't in your path. This patch moves the custom root-path setting from .login to .cshrc, so that users who su to root get a decent (and consistent) path. An appeal to change /etc/login.conf to provide a decent path for all users seems to have been vetoed for the time being. As a result, users will still, by default, not find ping or md5 in their path. However, at least root gets a decent default now. Reviewed by: asmodai Approved by: jkh
This commit is contained in:
parent
c2e8faa8e0
commit
499107bbb3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57802
@ -8,6 +8,9 @@ alias la ls -a
|
||||
alias lf ls -FA
|
||||
alias ll ls -lA
|
||||
|
||||
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin)
|
||||
setenv MANPATH "/usr/share/man:/usr/X11R6/man:/usr/local/man"
|
||||
|
||||
setenv PAGER more
|
||||
setenv BLOCKSIZE K
|
||||
|
||||
|
@ -3,9 +3,6 @@
|
||||
# csh .login file
|
||||
#
|
||||
|
||||
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin)
|
||||
setenv MANPATH "/usr/share/man:/usr/X11R6/man:/usr/local/man"
|
||||
|
||||
# Interviews settings
|
||||
#setenv CPU "FREEBSD"
|
||||
#set path = ($path /usr/local/interviews/bin/$CPU)
|
||||
|
Loading…
Reference in New Issue
Block a user