cleared superuser .bash_profile and .bashrc!!!!
i have replaced my superuser and normal user's .bash_profile by the following by mistake.
cat > ~/.bash_profile << "EOF"
exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash
EOF
i have also mistakenly replaced .bashrc of superuser and normal user by this:
cat > ~/.bashrc << "EOF"
set +h
umask 022
LFS=/mnt/lfs
LC_ALL=POSIX
PATH=/tools/bin:/bin:/usr/bin
export LFS LC_ALL PATH
EOF
whenever i try to restart the system,i reach upto the loging screen.then kde says that it cannot create enough tty's and exits.i can run in failsafe terminal mode.
please tell how do i have to modify my .bash_profile for this to get resolved
|