History log of /netbsd-src/etc/root/dot.profile (Results 1 – 25 of 35)
Revision Date Author Comments
# 47e93d95 25-Dec-2022 nia <nia@NetBSD.org>

As with normal users, include /usr/games in the default PATH of root


# d8eb9e45 21-Jul-2022 kre <kre@NetBSD.org>

Get rid of the (insulting)
We recommend that you create a non-root account...
message from single user mode shell startups.


# 6c36afa3 09-Jul-2022 kre <kre@NetBSD.org>

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 /res

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.

show more ...


# 452f8ae6 24-Aug-2020 nia <nia@NetBSD.org>

uname -p, pointed out by various


# 9fa431f2 15-Aug-2020 nia <nia@NetBSD.org>

Use sysctl -n hw.machine_arch so this works on e.g. aarch64

Ues HTTPS


# 017fa37f 01-Mar-2018 snj <snj@NetBSD.org>

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


# f0053e95 07-Dec-2017 jmcneill <jmcneill@NetBSD.org>

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.


# 9da4c9a5 08-Mar-2016 mlelstv <mlelstv@NetBSD.org>

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

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

show more ...


# fd7966da 30-Nov-2014 riz <riz@NetBSD.org>

Freshen up the commented-out suggested PKG_PATH a bit.


# 7a324bfe 11-Mar-2012 he <he@NetBSD.org>

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.


# 2d7c0538 21-Jun-2011 erh <erh@NetBSD.org>

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.


# 4f848eee 27-Dec-2010 christos <christos@NetBSD.org>

`` -> $()


# d73f4332 26-Aug-2009 tsutsui <tsutsui@NetBSD.org>

netbsd.org -> NetBSD.org for URLs.


# 35f9ffd8 15-May-2009 ad <ad@NetBSD.org>

Clearer wording when nagging about root logins.


# f0bb6873 15-Feb-2009 erh <erh@NetBSD.org>

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.


# b2c01596 19-Nov-2008 cube <cube@NetBSD.org>

Sprinkle /usr/X11R7 where relevant. rc.d/x{fs,dm} are left to be done.


# 0a197de3 10-Nov-2008 joerg <joerg@NetBSD.org>

Add commented out example of PKG_PATH to make using binary packages
easier.


# fbdc9c3f 22-Feb-2005 sketch <sketch@NetBSD.org>

Use hostname(1) in preference to uname(1) in case /usr isn't mounted.


# 28dfc695 22-Feb-2005 sketch <sketch@NetBSD.org>

Revision 1.2 of dot.shrc changed the prompt to use a HOST variable without
setting it anywhere, so set it here.


# 5470c1de 10-Oct-2002 abs <abs@NetBSD.org>

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


# 4bf1c78b 19-Feb-2000 mycroft <mycroft@NetBSD.org>

Make the tset stuff actually set the environment variables again.
Someone was on crack.


# b24c03aa 19-Feb-2000 mycroft <mycroft@NetBSD.org>

Simplify the tset crap, and do not set $HOME gratuitously.


# 4316d096 16-Feb-2000 jwise <jwise@NetBSD.org>

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]

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.

show more ...


# 8d796b17 16-Feb-2000 jwise <jwise@NetBSD.org>

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.


# c43c81ee 05-Nov-1999 mycroft <mycroft@NetBSD.org>

(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 interactiv

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

show more ...


12