diff options
author | rwatson <rwatson@FreeBSD.org> | 2000-03-07 18:52:37 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2000-03-07 18:52:37 +0000 |
commit | 26c765aa31039abfbca2b7c81fed8404ff9bbf5a (patch) | |
tree | f0dc7cfdc1d1b93a73794683a4edea29504a501e /etc/root/dot.login | |
parent | f724518914a0c5b3efc18397a7551cd61567e9e6 (diff) | |
download | FreeBSD-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.login')
-rw-r--r-- | etc/root/dot.login | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/etc/root/dot.login b/etc/root/dot.login index 9d9d3a5..659db13 100644 --- a/etc/root/dot.login +++ b/etc/root/dot.login @@ -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) |