# /etc/profile

 # System wide environment and startup programs
 # Functions and aliases go in /etc/bashrc

 ##PATH="$PATH:/usr/X11R6/bin"
  if [ `id -u` -eq 0 ] ;  then
   PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
  else
   PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/bin/X11:/usr/X11R6/bin
  fi

  ulimit -c 1000000
  if [ `id -gn` = `id -un` -a `id -u` -gt 14 ];  then
 	 umask 002
  else
 	 umask 022
  fi

  case $SHELL  in
   *ksh) PS1="`hostname`.$LOGNAME[!]>  "  ;;
   *)    PS1="[\u@\h \W]\\$  "  ;;
  esac

 USER=`id -un`
 LOGNAME=$USER
 MAIL="/var/spool/mail/$USER"

 PS_PERSONALITY=sysv
 WWW_HOME="file:/usr/doc/HTML/index.html"
 PRINTER=bw
 LPDEST=bw

 HOSTNAME=`/bin/hostname`
 HISTSIZE=1000
 HISTFILESIZE=1000

 #INPUTRC=/etc/inputrc
 #export PATH PS1 HOSTNAME HISTSIZE HISTFILESIZE USER LOGNAME MAIL INPUTRC
  export PATH PS1 HOSTNAME HISTSIZE HISTFILESIZE USER LOGNAME MAIL
  export WWW_HOME PRINTER LPDEST PS_PERSONALITY

  eval `dircolors /etc/DIR_COLORS`

  for i  in /etc/profile.d/*.sh ;  do
 	 if [ -x $i ];  then
 		 . $i
 	 fi
  done

  unset i