Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, I recently installed ubuntu 10.10 on my machine. I set it up such that no password is required on startup. It worked all great untill I installed jdk following ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    1

    Unable to login in ubuntu


    Hello,

    I recently installed ubuntu 10.10 on my machine. I set it up such that no password is required on startup. It worked all great untill I installed jdk following instructions on the first post that came when I googled 'Install jdk on linux'. I made changes to my /etc/profile file and logged out. While trying to login it did does not like my password, so essentially I am unable to log back into ubuntu.. I dont have any other user that I can log in as. Any help is greatly appreciated.

    Thanks,
    Hiral

  2. #2
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Desert
    Posts
    4,091
    You can use the live cd to reset password in single user mode.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way. I Have a Masters in Raising Hell
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Just boot up in Recovery Mode and execute passwd command to set new password.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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