aboutsummaryrefslogtreecommitdiff
path: root/etc/root/dot.login
Commit message (Collapse)AuthorAgeFilesLines
* Move all sh and csh files into bin/sh/ or bin/csh/Brad Davis2018-08-151-12/+0
| | | | | | | | | | | This simplifies pkgbase by migrating these to CONFS so they are properly tagged as config files. Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D16708 Notes: svn path=/head/; revision=337849
* Cosmetic tweaks to the default shell rc files, mostly comments.Edward Tomasz Napierala2017-07-051-2/+2
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=320672
* Run "resizewin -z" from the default shell profile files. This makesEdward Tomasz Napierala2017-07-051-0/+3
| | | | | | | | | | | | | | | | | | | the terminal work properly out of the box when logging over a serial line, which is quite important for the user experience on boards like Raspberry Pi. It doesn't affect cases where the terminal size is already non-zero, such as SSH or vt(4) sessions. Note that this doesn't handle a scenario pointed out by rgrimes@: when the terminal is resized after login, the terminal size won't get updated even after logging out and back in. Reviewed by: imp Obtained from: CheriBSD Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D10642 Notes: svn path=/head/; revision=320670
* Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;Colin Percival2015-02-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | update paths; and include everything in the "base" distribution. The "games" distribution being optional made sense when there were more games and we had small disks; but the "games-like" games were moved into the ports tree a dozen years ago and the remaining "utility-like" games occupy less than 0.001% of my laptop's small hard drive. Meanwhile every new user is confronted by the question "do you want games installed" when they they try to install FreeBSD. The next steps will be: 2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor, morse, number, primes, and random, since there is evidence that those are still being used. 3. Merging src/games into src/usr.bin. This change will not be MFCed. Reviewed by: jmg Discussed at: EuroBSDCon Approved by: gjb (release-affecting changes) Notes: svn path=/head/; revision=278616
* last commit was a mistakeEitan Adler2012-11-161-1/+1
| | | | | | | | Pointyhat to: me (for real) Approved by: cperciva (implicit) Notes: svn path=/head/; revision=243153
* dot.login is supposed to be for bourne shell, not cshEitan Adler2012-11-161-1/+1
| | | | | | | | Pointyhat to: me Approved by: cperciva (implicit) Notes: svn path=/head/; revision=243130
* The test fails with "exit 1" if /usr/games/fortune doesn't actuallyEitan Adler2012-11-011-1/+1
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=242452
* o Display only a short fortune at the root login prompt, as large onesRobert Watson2000-07-151-1/+1
| | | | | | | | scroll of our pretty /etc/motd that helps the user know what to do. o Change reflects similar setting in /share/skel Notes: svn path=/head/; revision=63200
* o Migrate path, umask from dot.login to dot.cshrcRobert Watson2000-03-251-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=58570
* There is nothing more annoying than su'ing to root and discovering thatRobert Watson2000-03-071-3/+0
| | | | | | | | | | | | | | | | 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: svn path=/head/; revision=57802
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50472
* By popular request, add /usr/local/sbin to this list.Jordan K. Hubbard1999-04-281-2/+2
| | | | Notes: svn path=/head/; revision=46139
* Add Id keywordBrian Somers1998-09-131-0/+2
| | | | Notes: svn path=/head/; revision=39145
* Set `crt' by default to make mail(1) happy.Joerg Wunsch1997-09-261-3/+3
| | | | | | | Also, comment out the not so very commonly used interviews settings. Notes: svn path=/head/; revision=29870
* Make the default VERASE key the <-- key and remove root'sBrian Somers1997-04-031-2/+0
| | | | | | | | | | `stty's. 'nuff said. Inventor: joerg@FreeBSD.org Reviewer: sos@FreeBSD.org Notes: svn path=/head/; revision=24598
* Make the invocation of fortune conditionalJordan K. Hubbard1996-04-301-1/+1
| | | | Notes: svn path=/head/; revision=15461
* Put the stty back here.Jordan K. Hubbard1996-03-061-0/+2
| | | | Notes: svn path=/head/; revision=14398
* Another round of spelling fixes.Mike Pritchard1996-01-311-2/+2
| | | | Notes: svn path=/head/; revision=13798
* Rip these things down to the absolutely minimums - no tsets, noJordan K. Hubbard1995-12-011-2/+0
| | | | | | | | sttys, no fancy prompts, nothing. Everything else seems to be too contraversal, so we'll go vanilla. Notes: svn path=/head/; revision=12559
* Remove ENABLE_STARTUP_LOCALE, use proper name for LANGAndrey A. Chernov1995-11-301-2/+1
| | | | Notes: svn path=/head/; revision=12542
* Revamp root's dotfiles.Jordan K. Hubbard1995-11-301-12/+19
| | | | | | | Submitted by: Patrick Hausen + mods by me Notes: svn path=/head/; revision=12539
* Correct my last fix regarding the "Don't login..." message; plain cshJoerg Wunsch1995-07-081-3/+8
| | | | | | | | | 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. Notes: svn path=/head/; revision=9442
* dot.login:Joerg Wunsch1995-06-291-2/+5
| | | | | | | | | | | | | | | | | | 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". Notes: svn path=/head/; revision=9368
* Eliminate use of raw control characters in stty commands, make echo's andRodney W. Grimes1994-09-161-2/+2
| | | | | | | | | stty commands self consistent. Submitted by: bde Notes: svn path=/head/; revision=2821
* Since we're using syscons now, make ^H the backspace character byJordan K. Hubbard1994-06-151-2/+2
| | | | | | | | default (ack ack, evil evil, but easier than changing syscons at this late hour). Notes: svn path=/head/; revision=1742
* Add $Id$'sRodney W. Grimes1994-02-211-0/+2
| | | | Notes: svn path=/head/; revision=1193
* Fixed ^? to ^\?, need to escape that for cshRodney W. Grimes1993-08-311-1/+1
| | | | Notes: svn path=/head/; revision=365
* Changed stty erase ^H to stty erase ^?.Rodney W. Grimes1993-08-311-1/+1
| | | | Notes: svn path=/head/; revision=364
* Initial import of 386BSD 0.1 othersrc/etcRodney W. Grimes1993-06-201-0/+4
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=37