Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # .bash_profile
- # User specific aliases and functions
- # Source global definitions
- if [ -f /etc/bashrc ]; then
- . /etc/bashrc
- fi
- HISTFILE=~/.bash_history; export HISTFILE
- HISTSIZE=200; export HISTSIZE
- . /etc/default/ppro
- . $DIR/bin/STARTDBC.TXT
- # Set up the search paths:
- PATH=$PATH:.
- # Set up the shell environment:
- set +u
- trap "echo 'logout'" 0
- # Set up the shell variables:
- if [ -f $DIR/bin/hphw/baddisk ] ; then
- banner WARNING
- echo "POSSIBLE BAD UNIX DISK(S)"
- sleep 2
- fi
- > $HISTFILE
- # Prompt to change passwd if file change_pass exists in the home directory
- if [ -f /home/$LOGNAME/change_pass ]
- then
- passwd
- if [ $? -eq 0 ]
- then
- rm -f /home/$LOGNAME/change_pass
- else
- echo " "
- echo " "
- echo "Password change failed. Exiting."
- sleep 10
- exit 4
- fi
- fi
- . $DIR/bin/rundbc
- > $HISTFILE
- . $DIR/bin/rundbc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement