Boot with the CD 1.
Type "linux rescue" at the boot prompt.
Hit enter a few times to get to the command prompt.
Then do the following
#chroot /mnt/sysimage
#cd /home/user
***** NOTE: if you have a seperate partition for /home, then you need to mount it by "mount /dev/hd* /mnt/sysimage/home" where /dev/hd* is the partition for /home.*****
#vi .bash_profile
fix the problem and save the file. Then
CTRL+D
CTRL+D
The system will reboot and hopefully all will be well!