Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am the sole user of my computer so I use my root user name for everything. I am tired of logging in all the time and entering a keyring so I was hoping that creating an automatic login would resolve that. It didn't, so now I have a broken password and I cannot install any programs and I cannot fix my password. Does anybody have any help for this? Thank you.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Logging in as root instead of your normal account is an Incredibly Bad Idea. During the normal course of things, the only time Ubuntu asks you for a password is when you install new software or updates - and even that can be configured not to require a password, I believe.

If you can no longer log in because you don't remember the password, you could reboot to the recovery console and change your user's password from there:

passwd myusername

however, I'm afraid you may've stuffed the permissions up when opening your files as root... you may need to change ownership of your home dir:

chown -R myusername:myusername /home/myusername
share|improve this answer
    
Thank you! I had to change ownership. –  Randy Oct 20 '11 at 1:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.