# /etc/profile - system login script # # The contents of this file will be executed when a user logs into # the system and starts a shell. Lines beginning with hash marks are # considered to be comments. See bash(1) for additional information. if [ $UID -eq 0 ]; then PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/sbin:/opt/bin else PATH=/usr/bin:/bin:/opt/bin fi case $0 in -sh|sh) if [ $UID -eq 0 ]; then PS1='# ' else PS1='$ ' fi ;; -bash|bash) PS1='\h:\w\$ ' alias ls='ls -F' ;; esac export PATH PS1