History log of /src/etc/root/dot.profile |
Revision | | Date | Author | Comments |
1.35 |
| 25-Dec-2022 |
nia | As with normal users, include /usr/games in the default PATH of root
|
1.34 |
| 21-Jul-2022 |
kre | branches: 1.34.2;
Get rid of the (insulting) We recommend that you create a non-root account... message from single user mode shell startups.
|
1.33 |
| 09-Jul-2022 |
kre | If /rescue is at the head of $PATH (which is how it starts out in /rescue/sh unless changed by something - and has been since NetBSD 3) don't blindly simply change it to a PATH that doesn't have /rescue in it at all.
This doesn't solve the "/rescue/tar execs /usr/bin/gzip" problem completely, as if PATH is in the environment when /rescue/sh is started, that one will override the shell's built in PATH, but this is better than nothing.
|
1.32 |
| 24-Aug-2020 |
nia | uname -p, pointed out by various
|
1.31 |
| 15-Aug-2020 |
nia | Use sysctl -n hw.machine_arch so this works on e.g. aarch64
Ues HTTPS
|
1.30 |
| 01-Mar-2018 |
snj | /usr/X11R6 has been empty on most NetBSD installations since 2008, and the last few straggling ports dumped it in 2015. It's time to prune references to /usr/X11R6 from our config files.
|
1.29 |
| 07-Dec-2017 |
jmcneill | Update example PKG_PATH entry to use the CDN frontend, use uname -p instead of uname -m for processor subdirectory, and derive the OS release from uname -r.
|
1.28 |
| 08-Mar-2016 |
mlelstv | branches: 1.28.8; tset was useful for fixed terminals and rarely changing configurations. But for current software terminal emulators and varying network logins it's just confusing.
No longer run tset when logging in.
ok @martin
|
1.27 |
| 30-Nov-2014 |
riz | Freshen up the commented-out suggested PKG_PATH a bit.
|
1.26 |
| 11-Mar-2012 |
he | branches: 1.26.12; Point first to 6.0 packages, then to packages for 5.1 or 5.0. The latter have reduced usefullness in -current or netbsd-6 until we have a compat50 package.
|
1.25 |
| 21-Jun-2011 |
erh | branches: 1.25.2; 1.25.4; There is no .../5.99 path to use for PKG_PATH, so change it to 5.1 instead. Also refer the reader to pkg_install.conf as an alternative.
|
1.24 |
| 27-Dec-2010 |
christos | branches: 1.24.4; `` -> $()
|
1.23 |
| 26-Aug-2009 |
tsutsui | netbsd.org -> NetBSD.org for URLs.
|
1.22 |
| 15-May-2009 |
ad | Clearer wording when nagging about root logins.
|
1.21 |
| 15-Feb-2009 |
erh | Add "/pub" to the PKG_PATH lines in the default .cshrc and .profile so they actually have a chance of working. Also provide an example of how to include more than one path.
|
1.20 |
| 19-Nov-2008 |
cube | branches: 1.20.2; Sprinkle /usr/X11R7 where relevant. rc.d/x{fs,dm} are left to be done.
|
1.19 |
| 10-Nov-2008 |
joerg | Add commented out example of PKG_PATH to make using binary packages easier.
|
1.18 |
| 22-Feb-2005 |
sketch | branches: 1.18.26; 1.18.34; Use hostname(1) in preference to uname(1) in case /usr isn't mounted.
|
1.17 |
| 22-Feb-2005 |
sketch | Revision 1.2 of dot.shrc changed the prompt to use a HOST variable without setting it anywhere, so set it here.
|
1.16 |
| 10-Oct-2002 |
abs | If we are going to point ENV at .shrc, and link this in as /.profile as well as /root/.profile, then use /root/.shrc rather than $HOME/.shrc otherwise single user mode tries to use /.shrc...
|
1.15 |
| 19-Feb-2000 |
mycroft | branches: 1.15.6; Make the tset stuff actually set the environment variables again. Someone was on crack.
|
1.14 |
| 19-Feb-2000 |
mycroft | Simplify the tset crap, and do not set $HOME gratuitously.
|
1.13 |
| 16-Feb-2000 |
jwise | 1.) bring over the second half of David Brownlee's change to dot.login -- don't query the user for terminal type if the type is not `unknown'
2.) change this a little in both the csh and the [k]sh cases -- do call tset(1) even if the terminal type is known (so that TERMCAP is set properly, but don't have it query the user.
|
1.12 |
| 16-Feb-2000 |
jwise | Port to [k]sh(1) startup files David Brownlee's improvement from cvs rdiff -r1.4 -r1.5 basesrc/etc/root/dot.login
As there, text is from Miles Nordin.
|
1.11 |
| 05-Nov-1999 |
mycroft | branches: 1.11.2; (Ab?)use some sh(1) features: * Put the aliases in a separate file, referenced by $ENV, so that they're present in subshells. * Do the same to make `set -o emacs' happen automatically in interactive shells. (Yay, line editing by default!) * Use `export FOO=bar' syntax, as it's shorter and other sh(1)-like shells all support it these days.
|
1.10 |
| 04-Apr-1999 |
mycroft | branches: 1.10.2; Avoid using id(1), as this loses when /usr isn't mounted.
|
1.9 |
| 30-Mar-1999 |
hubertf | branches: 1.9.2; Add hup, ll and x shell functions similar to the aliases in dot.cshrc plus set the prompt. Tested with /bin/sh and /bin/ksh.
|
1.8 |
| 17-Jan-1998 |
thorpej | Sync PATH with our csh counterpart.
|
1.7 |
| 28-Oct-1997 |
mrg | RCSid police. fix pr#4307 from Eric Haszlakiewicz: csh aliases broken with.
|
1.6 |
| 15-Feb-1997 |
mikel | cleanup Lite-1 merge
|
1.5 |
| 24-Dec-1994 |
cgd | get dot out of root's path.
|
1.4 |
| 26-Mar-1994 |
jtc | The contents of this file are evaluated by root, users without a home dir, and even by the shell in single user mode. This change makes it work in all of those circumstances, though probably not optimally.
It is likely that something better will be checked in after all of the outstanding issues are resolved, but I have to check in something that works before this week's tarballs are created.
|
1.3 |
| 24-Mar-1994 |
jtc | Changed .login (csh) and .profile (sh) to be consistant with each other. In particular, explicit setting of erase and kill chars via stty has been removed.
|
1.2 |
| 06-Jun-1993 |
cgd | remove /usr/local and /usr/contrib from root's path
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 15-Feb-1997 |
mikel | import 4.4BSD-Lite
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.9.2.2 |
| 22-Feb-2000 |
he | Pull up revisions 1.12-1.15 (via patch, requested by jwise): Implement better handling of the SU_FROM environment variable.
|
1.9.2.1 |
| 19-Apr-1999 |
mycroft | Pull up rev 1.10: Avoid using id(1), as this loses when /usr isn't mounted.
|
1.10.2.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.11.2.2 |
| 05-Nov-1999 |
mycroft | (Ab?)use some sh(1) features: * Put the aliases in a separate file, referenced by $ENV, so that they're present in subshells. * Do the same to make `set -o emacs' happen automatically in interactive shells. (Yay, line editing by default!) * Use `export FOO=bar' syntax, as it's shorter and other sh(1)-like shells all support it these days.
|
1.11.2.1 |
| 05-Nov-1999 |
mycroft | file dot.profile was added on branch comdex-fall-1999 on 1999-11-05 11:30:14 +0000
|
1.15.6.1 |
| 07-Dec-2002 |
he | Pull up revision 1.16 (requested by abs in ticket #909): Use /root instead of ${HOME}, so that $ENV points to the right place when in single user mode.
|
1.18.34.3 |
| 23-Feb-2009 |
snj | Apply patch (requested by erh in ticket #463): Fix commented out PKG_PATH to be something that has a chance of working.
|
1.18.34.2 |
| 20-Nov-2008 |
snj | Pull up following revision(s) (requested by cube in ticket #96): etc/login.conf: revision 1.3 etc/skel/dot.profile: revision 1.5 etc/root/dot.profile: revision 1.20 etc/skel/dot.cshrc: revision 1.4 etc/root/dot.cshrc: revision 1.19 Sprinkle /usr/X11R7 where relevant. rc.d/x{fs,dm} are left to be done.
|
1.18.34.1 |
| 12-Nov-2008 |
snj | Apply patch (requested by joerg in ticket #45): Add commented out example of PKG_PATH to make using binary packages easier.
|
1.18.26.1 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.20.2.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.24.4.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.25.4.1 |
| 17-Mar-2012 |
bouyer | Pull up following revision(s) (requested by he in ticket #109): etc/root/dot.cshrc: revision 1.23 etc/root/dot.cshrc: revision 1.24 etc/root/dot.profile: revision 1.26 Can't use Bourne shell syntax here... (Even in comments, for PKG_PATH.) Point first to 6.0 packages, then to packages for 5.1 or 5.0. The latter have reduced usefullness in -current or netbsd-6 until we have a compat50 package.
|
1.25.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.26.12.1 |
| 01-Dec-2014 |
martin | Pull up following revision(s) (requested by riz in ticket #288): etc/root/dot.cshrc: revision 1.25 etc/root/dot.profile: revision 1.27 Freshen up the commented-out suggested PKG_PATH a bit.
|
1.28.8.2 |
| 12-Apr-2018 |
martin | Pull up following revision(s) (requested by snj in ticket #742):
etc/root/dot.profile: revision 1.30 etc/skel/dot.profile: revision 1.10 etc/login.conf: revision 1.7 etc/root/dot.cshrc: revision 1.27 share/man/man7/hier.7: revision 1.129 (patch) etc/man.conf: revision 1.37 etc/skel/dot.cshrc: revision 1.8
/usr/X11R6 has been empty on most NetBSD installations since 2008, and the last few straggling ports dumped it in 2015. It's time to prune references to /usr/X11R6 from our config files.
remove reference to /usr/X11R6
|
1.28.8.1 |
| 08-Dec-2017 |
msaitoh | Pull up following revision(s) (requested by jmcneill in ticket #430): etc/root/dot.cshrc: revision 1.26 etc/root/dot.profile: revision 1.29 Update example PKG_PATH entry to use the CDN frontend, use uname -p instead of uname -m for processor subdirectory, and derive the OS release from uname -r.
|
1.34.2.1 |
| 27-Jun-2023 |
martin | Pull up following revision(s) (requested by nia in ticket #217):
etc/root/dot.profile: revision 1.35
As with normal users, include /usr/games in the default PATH of root
|