Find the answer to your Linux question:
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 ...
  1. #1
    Linux Newbie grishi_111's Avatar
    Join Date
    Oct 2007
    Location
    Jafarpur Sitharra(U.P.)/New Delhi, India
    Posts
    171

    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
    Rishi
    Sorry, it was unintentional.
    You should have told me at least once and i could have fix it.
    thanks for reminding me.

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    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.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Linux Newbie grishi_111's Avatar
    Join Date
    Oct 2007
    Location
    Jafarpur Sitharra(U.P.)/New Delhi, India
    Posts
    171
    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
    Code:
    pathmunge /usr/java/default/bin
    just before
    Code:
    unset pathmunge
    that did for me.
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...