History log of /freebsd-10-stable/etc/root/dot.login
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 243153 16-Nov-2012 eadler

last commit was a mistake

Pointyhat to: me (for real)
Approved by: cperciva (implicit)


# 243130 16-Nov-2012 eadler

dot.login is supposed to be for bourne shell, not csh

Pointyhat to: me
Approved by: cperciva (implicit)


# 242452 01-Nov-2012 eadler

The test fails with "exit 1" if /usr/games/fortune doesn't actually
exist. Fix that.

PR: conf/71994
Submitted by: Mikael Eklund <rma@ludd.ltu.se>
Reviewed by: crees
Reviewed by: jilles
Approved by: cperciva (implicit)
MFC after: 3 days


# 63200 15-Jul-2000 rwatson

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


# 58570 25-Mar-2000 rwatson

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


# 57802 07-Mar-2000 rwatson

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


# 50472 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 46139 28-Apr-1999 jkh

By popular request, add /usr/local/sbin to this list.


# 39145 13-Sep-1998 brian

Add Id keyword


# 29870 26-Sep-1997 joerg

Set `crt' by default to make mail(1) happy.
Also, comment out the not so very commonly used interviews settings.


# 24598 03-Apr-1997 brian

Make the default VERASE key the <-- key and remove root's
`stty's. 'nuff said.

Inventor: joerg@FreeBSD.org
Reviewer: sos@FreeBSD.org


# 15461 30-Apr-1996 jkh

Make the invocation of fortune conditional


# 14398 06-Mar-1996 jkh

Put the stty back here.


# 13798 31-Jan-1996 mpp

Another round of spelling fixes.


# 12559 01-Dec-1995 jkh

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.


# 12542 30-Nov-1995 ache

Remove ENABLE_STARTUP_LOCALE, use proper name for LANG


# 12539 30-Nov-1995 jkh

Revamp root's dotfiles.
Submitted by: Patrick Hausen + mods by me


# 9442 08-Jul-1995 joerg

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.


# 9368 29-Jun-1995 joerg

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".


# 2821 16-Sep-1994 rgrimes

Eliminate use of raw control characters in stty commands, make echo's and
stty commands self consistent.

Submitted by: bde


# 1742 15-Jun-1994 jkh

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).


# 1193 21-Feb-1994 rgrimes

Add $Id$'s


# 365 31-Aug-1993 rgrimes

Fixed ^? to ^\?, need to escape that for csh


# 364 31-Aug-1993 rgrimes

Changed stty erase ^H to stty erase ^?.


# 38 20-Jun-1993 rgrimes

This commit was generated by cvs2svn to compensate for changes in r37,
which included commits to RCS files with non-trunk default branches.


# 37 20-Jun-1993 rgrimes

Initial import of 386BSD 0.1 othersrc/etc