Results 1 to 3 of 3
Hi every one
i am using FC.11 .
i wanted to set jdk path in /etc/profile
i wanted it to add
export PATH=/usr/java/jdk-1.6_12
but i did it above the everything ...
- 10-28-2009 #1
unable to login
Hi every one
i am using FC.11 .
i wanted to set jdk path in /etc/profile
i wanted it to add
export PATH=/usr/java/jdk-1.6_12
but i did it above the everything that was not comment.
soon i realised that something gone wrong.
after that i logged out and was trying to log in again but could not.
after reboot there is only one option available
others
and no user login is possible(i had just one user apart from root)
i cann't login to the system.
how can i login again. please help.
regards
RishiSorry, it was unintentional.
You should have told me at least once and i could have fix it.
thanks for reminding me.
- 10-30-2009 #2
Boot your install CD/DVD to RESCUE mode. Then mount your system and undo what you did to /etc/profile to restore the system. Sounds like you just replaced the path and now the system doesn't know where to find things.
- 10-31-2009 #3
thanks dear!
actually i did it by booting the system by live CD of Omega that i have.
then i edited /etc/profile to remove what i had added.
that enabled me to login my system.
to set JAVA_HOME,then I added
just beforeCode:pathmunge /usr/java/default/bin
that did for me.Code:unset pathmunge
my system is running just fine as before all that happened.
any way......thanks.Last edited by grishi_111; 10-31-2009 at 01:01 PM.
Sorry, it was unintentional.
You should have told me at least once and i could have fix it.
thanks for reminding me.


Reply With Quote