[BACK]Return to dot.profile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc / root

File: [cvs.NetBSD.org] / src / etc / root / dot.profile (download)

Revision, Sat Dec 7 21:59:17 2002 UTC (17 years, 6 months ago) by he
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.15: +2 -2 lines

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.

#	$NetBSD: dot.profile,v 2002/12/07 21:59:17 he Exp $

export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin
export PATH=${PATH}:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin

export BLOCKSIZE=1k

if [ -x /usr/bin/tset ]; then
	eval `tset -sQrm 'unknown:?unknown'`

umask 022
#ulimit -c 0

export ENV=/root/.shrc

# Do not display in 'su -' case
if [ -z "$SU_FROM" ]; then
        echo "We recommend creating a non-root account and using su(1) for root access."