]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
There is nothing more annoying than su'ing to root and discovering that
authorrwatson <rwatson@FreeBSD.org>
Tue, 7 Mar 2000 18:52:37 +0000 (18:52 +0000)
committerrwatson <rwatson@FreeBSD.org>
Tue, 7 Mar 2000 18:52:37 +0000 (18:52 +0000)
commit26c765aa31039abfbca2b7c81fed8404ff9bbf5a
treef0dc7cfdc1d1b93a73794683a4edea29504a501e
parentf724518914a0c5b3efc18397a7551cd61567e9e6
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
etc/root/dot.cshrc
etc/root/dot.login