an error in .profile ubuntu file prevents the system from booting?

Posted by nafaa on Ask Ubuntu See other posts from Ask Ubuntu or by nafaa
Published on 2012-11-15T23:18:48Z Indexed on 2012/11/15 23:26 UTC
Read the original article Hit count: 129

Filed under:
|

I tryied to set the JAVA_HOME environmet variable in the ~/.profile file and I made a mistake

    JAVA_HOME="/usr/lib/jvm/jdk1.6.0_37"
    PATH=$JAVA_HOME:PATH

the error is in the PATH referencing. I put PATH rather than $PATH. this prevents me from login.

I tried to edit the file using the recovery mode but it says that the file system is read only. so any suggestions how to deal with this issue.

thanks

© Ask Ubuntu or respective owner

Related posts about login

Related posts about permissions