aboutsummaryrefslogtreecommitdiff
path: root/etc/root/dot.login
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2000-03-07 18:52:37 +0000
committerRobert Watson <rwatson@FreeBSD.org>2000-03-07 18:52:37 +0000
commit499107bbb34993d8c1b8262d508c77cf0b9ad77b (patch)
treead9bc22e855c06836d07f70d4258677baaaf2761 /etc/root/dot.login
parentc2e8faa8e0e11e85992adaa1b4432f9275a10a8e (diff)
downloadsrc-499107bbb34993d8c1b8262d508c77cf0b9ad77b.tar.gz
src-499107bbb34993d8c1b8262d508c77cf0b9ad77b.zip
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
Notes
Notes: svn path=/head/; revision=57802
Diffstat (limited to 'etc/root/dot.login')
-rw-r--r--etc/root/dot.login3
1 files changed, 0 insertions, 3 deletions
diff --git a/etc/root/dot.login b/etc/root/dot.login
index 9d9d3a50fdaf..659db13721fb 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)