change login password

Asked by Sean on 2009-04-04

I changed my password in the terminal but I would like to change my login password into computer?
thanks for your help

Question information

English Edit question
Ubuntu shadow Edit question
No assignee Edit question
Last query:
Last reply:

When you change the password for your user using terminal you change also the password to make the login in Ubuntu...

The user is unique...

Have already tried to log out and then login in Ubuntu... ?

Hope this helps

Sean (mareshah) said : #2

Hello marcobra,
thanks for your help.
Doing what you suggested having changed terminal password and loging in again to ubuntu it will only accept the original password?Inversely it wont accept the original in the terminal!

Which terminal command have you used ... ?
To change the passwrod to your user you need to type, using terminal:


Hope this helps

Craig Huffstetler (xq) said : #4

Also, using the GUI, you can go to System > Administration > Users and Groups. From here select your user and click properties and make the changes.

I do not understand why the:
Command did not work for you in a terminal, though? It should have.

Did it prompt you to "sudo passwd"?

Hey Sean

        You can easily change your password by going to Systems->Preferences->About Me.A new window will open.There you will find a button at the top right saying Change Password.Click on it.Now you should be able to change your password without any problems for sure.


Sean (mareshah) said : #6

changed Password but even after uninstalling Gnome Do thinking that I could get rid of keyring password invite.... it still appears after restarting and asks for original password!?


Sean (mareshah) said : #7

some more details... The Application Network Manager Applet,(usr/bin/nm-applet) wants access to the default keyring but it is locked.

This is the one where Having changed the password in terminal User groups still asks for original Password.


Craig Huffstetler (xq) said : #8

When you first setup your keyring you set a password -- it was most likely the same as your user password because you did not know any better.

However, this is a different password than your user password. You have to destroy your old keyring file, then you will be asked to create a new keyring "password." How?

Navigate to Places > Home. Press ctrl-h for "hidden files". Navigate to .gnome2 > keyrings. Delete default.keyring file.

John Kelly (lioganach) said : #9

Helo Craig
I got as far as opening keyrings but was met with a "Couldnt open the file box which said....Gedit has not been able to detect the character coding.Please check that you are not trying to open a binary file.Select a character from the menu and try again. Character coding current lcale UTF-8

Craig Huffstetler (xq) said : #10

Well, what I am explaining is the keyring is that the keyring default password is something you set when Gnome's "Keyring" program first *started* when you installed your system. It asked you to specify a password. Many users sometimes think it should be the same as their password, so I was betting that you set your gnome keyring password as the same as your user password (the old one).

Thus, the box that keeps popping up that you say the password has not changed for (or you do not know the password for) is your old password because it's the Gnome Keyring Password.

Unfortunately, the only way I know how to change this is not to edit the file (it's encrypted) but to *DELETE* the file entirely. So, editing it won't help.

You're going to have to delete that file and start fresh with Gnome Keyring. The first time Gnome Keyring wants to remember a password for you -- it will ask you to specify a new password. This will happen only after you delete that file.

Dee McLaughlin (dee2468) said : #11

Ive only resently started using the computer so Im not fimilier with the tech expressions. Will someone explain in 'layman' terms how to change login password? cheers Dee

Can you help with this problem?

Provide an answer of your own, or ask Sean for more information if necessary.

To post a message you must log in.