Commit Graph

22 Commits

Author SHA1 Message Date
rwatson
0f43f0016f o Display only a short fortune at the root login prompt, as large ones
scroll of our pretty /etc/motd that helps the user know what to do.
o Change reflects similar setting in /share/skel
2000-07-15 03:25:14 +00:00
rwatson
cdd4a3c316 o Migrate path, umask from dot.login to dot.cshrc
o Comment out display of fortune by default.
o Synch root's .cshrc/.login and non-root's .cshrc/.login in terms of
  gratuitous variables set (EDITOR).
o Remove some commented out variables set inconsistently or gratuitously,
  such as Interviews settings, 8-bit German locale for root only.
o Synchronize comments in header, as well as references to appropriate man
  pages.
o Remove MANPATH setting as apparently /etc/manpath.config does all that
  already.

Similar changes probably need to be made in other dot.* files for root
and skel, as all of these files seem to set different aliases, environmental
variables, prompts, and have different semantics.

As a result of this patch, leaving aside the setting of a special prompt
for root, users of csh and tcsh should find similar environments when
logging in or su'ing to any account using that shell.

Reviewed by:	asmodai, nbm, will
2000-03-25 20:23:39 +00:00
rwatson
d2b628c0a9 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
2000-03-07 18:52:37 +00:00
peter
cdad5bae8c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
jkh
92941a5cac By popular request, add /usr/local/sbin to this list. 1999-04-28 06:43:08 +00:00
brian
8a70c22e66 Add Id keyword 1998-09-13 23:11:13 +00:00
joerg
8eec8cf086 Set `crt' by default to make mail(1) happy.
Also, comment out the not so very commonly used interviews settings.
1997-09-26 08:28:19 +00:00
brian
047a406034 Make the default VERASE key the <-- key and remove root's
`stty's.  'nuff said.

Inventor:	joerg@FreeBSD.org
Reviewer:	sos@FreeBSD.org
1997-04-03 21:42:42 +00:00
jkh
96e5455559 Make the invocation of fortune conditional 1996-04-30 04:44:37 +00:00
jkh
7f5586556f Put the stty back here. 1996-03-06 05:25:01 +00:00
mpp
f88cbd872d Another round of spelling fixes. 1996-01-31 15:03:18 +00:00
jkh
18201b81a8 Rip these things down to the absolutely minimums - no tsets, no
sttys, no fancy prompts, nothing.  Everything else seems to be
too contraversal, so we'll go vanilla.
1995-12-01 20:12:05 +00:00
ache
44bf5aae89 Remove ENABLE_STARTUP_LOCALE, use proper name for LANG 1995-11-30 03:54:37 +00:00
jkh
d661fa2fbc Revamp root's dotfiles.
Submitted by:	Patrick Hausen + mods by me
1995-11-30 02:28:37 +00:00
joerg
d17a12fac3 Correct my last fix regarding the "Don't login..." message; plain csh
is too stupid to report anything about ARGV[0], so we will always
complain there, even for the "su -" case.  The fix worked for tcsh
however.
1995-07-08 11:11:23 +00:00
joerg
2db07f24ac dot.login:
Finally transform the "Don't login as root..." message to make it
clear that `su' is meant to be a command.  Will save us a lot of
questions about the user named `su'.  Make the message magically
disappear if the user did an ``su - root'', since it might be a bit
silly to ask him to perform an `su'...

dot.cshrc:

Remove the no-op `-g' options from the ls aliases, and replace them by
`-o'.  This way, if root does an `ls -l', he will see the immutable
flag and (hopefully) not be too surprised about the "Permission
denied".
1995-06-29 06:30:43 +00:00
rgrimes
c36c4b9d82 Eliminate use of raw control characters in stty commands, make echo's and
stty commands self consistent.

Submitted by:	bde
1994-09-16 04:20:14 +00:00
jkh
0de329b748 Since we're using syscons now, make ^H the backspace character by
default (ack ack, evil evil, but easier than changing syscons at this
late hour).
1994-06-15 22:58:49 +00:00
rgrimes
c2335a8b69 Add $Id$'s 1994-02-21 20:36:03 +00:00
rgrimes
a8637aed53 Fixed ^? to ^\?, need to escape that for csh 1993-08-31 14:40:22 +00:00
rgrimes
b4908f24d6 Changed stty erase ^H to stty erase ^?. 1993-08-31 14:38:58 +00:00
rgrimes
241ccdeaf3 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00