summaryrefslogtreecommitdiffstats
path: root/etc/root/dot.cshrc
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2000-03-07 18:52:37 +0000
committerrwatson <rwatson@FreeBSD.org>2000-03-07 18:52:37 +0000
commit26c765aa31039abfbca2b7c81fed8404ff9bbf5a (patch)
treef0dc7cfdc1d1b93a73794683a4edea29504a501e /etc/root/dot.cshrc
parentf724518914a0c5b3efc18397a7551cd61567e9e6 (diff)
downloadFreeBSD-src-26c765aa31039abfbca2b7c81fed8404ff9bbf5a.zip
FreeBSD-src-26c765aa31039abfbca2b7c81fed8404ff9bbf5a.tar.gz
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
Diffstat (limited to 'etc/root/dot.cshrc')
-rw-r--r--etc/root/dot.cshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc
index 7b66bd1..38a71cf 100644
--- a/etc/root/dot.cshrc
+++ b/etc/root/dot.cshrc
@@ -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
OpenPOWER on IntegriCloud