PDA

View Full Version : [ubuntu] changing password



Amy_1990
July 18th, 2010, 06:05 PM
Hi again,

When i installed ubuntu i gave it a password but now when i try to change it from the me-menu it now has two passwords i don't want this i want it with just one like it was when i installed ubuntu is there a way to do this?

nothingspecial
July 18th, 2010, 06:33 PM
What do you mean you have 2 passwords. Is one for the keyring?

Amy_1990
July 18th, 2010, 06:49 PM
I'M not sure when i login i have to use the old and then the new password but after that i have to use the new one.But when i install software it only will take the old password.

nothingspecial
July 18th, 2010, 06:53 PM
I'M not sure when i login i have to use the old and then the new password but after that i have to use the new one.But when i install software it only will take the old password.

Try typing in your terminal


mv ~/.gnome2/keyrings/default.keyring ~key.bak
Then log out and back in again. The keyring should ask you for a new password. Set it the same as your new admin password.

I hope I`ve understood what is going on correctly.

mcduck
July 19th, 2010, 03:23 PM
Try typing in your terminal


mv ~/.gnome2/keyrings/default.keyring ~key.bak
Then log out and back in again. The keyring should ask you for a new password. Set it the same as your new admin password.

I hope I`ve understood what is going on correctly.

There's no need to get rid of the current keyring change the password. :) The keyring password can be changed in Applications/Accessories/Passwords and Encryption Keys. Just right-click the "passwords:login"-keyring and select "Change Password".

aeiah
July 19th, 2010, 05:02 PM
if you need your old password to login, then that suggests that you never changed your password to begin with (but perhaps changed your keyring one, or something).

you can change your login password (and thus also the password used for sudo) in a terminal with the command:
passwd

dcommini
July 27th, 2010, 12:16 AM
you can change your login password (and thus also the password used for sudo) in a terminal with the command:
passwd

Sweet, this just helped me with the problem I was having, using the GUI I could not change my password. got it taken care of now... ty;)