1# $NetBSD: dot.profile,v 1.35 2022/12/25 23:58:50 nia Exp $ 2 3case "${PATH}" in 4/rescue:*) ;; # leave it alone, user can change manually (if required) 5*) export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin 6 export PATH=${PATH}:/usr/games:/usr/X11R7/bin 7 export PATH=${PATH}:/usr/local/sbin:/usr/local/bin 8 ;; 9esac 10 11# Uncomment the following line(s) to install binary packages 12# from cdn.NetBSD.org via pkg_add. (See also pkg_install.conf) 13#export PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.|cut -f 1 -d_)/All" 14 15export BLOCKSIZE=1k 16 17export HOST="$(hostname)" 18 19umask 022 20#ulimit -c 0 21 22export ENV=/root/.shrc 23 24# Do not display in 'su -' case 25if [ -z "$SU_FROM" ] && [ "$PPID" -ne 1 ]; then 26 echo "We recommend that you create a non-root account and use su(1) for root access." 27fi 28