On Sun, Jun 14, 2015 at 02:48:17PM +0000 or thereabouts, Black Rider wrote:
> Hello.
> 
> I have noticed that the ksh and sh manpages don't make reference to the 
> file /.profile, which I understand to hold the default shell variables if 
> the other source files listed on the manuals don't exist.
> 

The file itself says it is for default for root.

$ cat /.profile
# $OpenBSD: dot.profile,v 1.9 2010/12/13 12:54:31 millert Exp $
#
# sh/ksh initialization

PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
export PATH
: ${HOME='/root'}
export HOME
umask 022

case "$-" in
*i*)    # interactive shell
        if [ -x /usr/bin/tset ]; then
                if [ X"$XTERM_VERSION" = X"" ]; then
                        eval `/usr/bin/tset -sQ '-munknown:?vt220' $TERM`
                else
                        eval `/usr/bin/tset -IsQ '-munknown:?vt220' $TERM`
                fi
        fi
        ;;
esac

Reply via email to