ubuntu stuck in a login loop after editing profile file
- by varunit
I'm stuck in a login loop now. What I did was edited /etc/profile as root and added the following line
export PATH = /opt/my jdk 7 path/bin:$PATH
After logging out and tried to login, I cannot
I have tried booting in recovery mode, entered root prompt and tried to edit the file in vi but it always opens in read only mode and hence cannot be saved.
I just need a way to delete that line and boot into ubuntu again. Please help me out guys..