# /etc/profile: This file contains system-wide defaults used by # all Bourne (and related) shells. # # # 08-Nov-04 amo Modified for running in /dev/ram & /dev/loop # # # Set the values for some environment variables: export MINICOM="-c on" export MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man export HOSTNAME="`cat /etc/HOSTNAME`" export LESSOPEN="|lesspipe.sh %s" export LESS="-M" # If the user doesn't have a .inputrc, use the one in /etc. if [ ! -r "$HOME/.inputrc" ]; then export INPUTRC=/etc/inputrc fi # Set the default system $PATH: # PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games" PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/opt/kde/bin" # I had problems using 'eval tset' instead of 'TERM=', but you might want to # try it anyway. I think with the right /etc/termcap it would work great. # eval `tset -sQ "$TERM"` if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then TERM=linux fi # # # 24-Aug-05 amo Added TERM and DISPLAY and LANG # TERM=vt100 DISPLAY=:0.0 # LANG=En_US LC_ALL=En_US # # # Set a default shell prompt: # PS1='\u@\h:\w\$ ' # PS2='> ' # export PATH DISPLAY LESS TERM PS1 PS2 # Default umask. A umask of 022 prevents new files from being created group # and world writable. umask 022 # # Set colors # eval `dircolors -b` # # 14-Nov-04 amo Add stuff from Redhat:/etc/profile # # No core files by default ulimit -S -c 0 > /dev/null 2>&1 USER="`id -un`" LOGNAME=$USER HISTSIZE=1000 export HISTSIZE # # End of redhat # # 14-Nov-04 amo Add stuff from Suse:/etc/profile # # LINES=24; COLUMNS=80; # export LINES COLUMNS TERM # # # # 06-Jul-04 amo Add libsafe-2.0-16 # http://www.Linux-Sec.net/harden/libsafe.uhow2.txt # export LD_PRELOAD=/lib/libsafe.so.2 # # unset LD_PRELOAD to unload it # # # End of file