PDA

View Full Version : [ubuntu] Quick password question.



Vrekk
July 5th, 2009, 06:37 PM
Hey im trying to change my Password for my account, but when i got to System -> Admin -> Users and Groups, my name isnt there :mad:, so can someone tell me how to change it from command line, I can figure it out.

mhgsys
July 5th, 2009, 06:45 PM
If you already have the correct password



sudo passwd username

will do.


to recover or change password without having to use the old one, in case you forgot it...
bootup in recovery modes/

then



cd /home/




ls -a

You'll find your username there.
then




passwd username

Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

reboot, log in with your username and passwd.

Vrekk
July 5th, 2009, 06:52 PM
You guys never fail me, i know my (now old) password im just updating it, any idea on why im not in the Users and Groups GUI though?

Vrekk
July 5th, 2009, 07:23 PM
Ok i got my login pass changed, but now when i login the Network Manager wants to unlock its keyring, which is still on my old password. Where do i change that?

mhgsys
July 5th, 2009, 08:47 PM
Have a look here;

http://mexpolk.blogspot.com/2008/02/ubuntu-change-default-keyring-password.html

**In case link go's down***


sudo apt-get install seahorse


Once installed open it, go to Edit -> Preferences menu. Select GNOME Keyring

Vrekk
July 5th, 2009, 11:51 PM
Thanks problem sloved :D

mhgsys
July 6th, 2009, 04:36 PM
nice~,

Your welcome.

Vrekk
July 6th, 2009, 05:54 PM
Ok i lied my problem is not sloved (Didnt notice this one), when every i log in i have to manually mount my /Private directory and type in my old password. How can i change that?

mhgsys
July 6th, 2009, 08:30 PM
To be honest;

I don't know anything about encrypted Private Directory's.
However;
After some research I found this;

To change your passphrase, use ecryptfs-wrap-passphrase



ecryptfs-wrap-passphrase ~/.ecryptfs/wrapped-passphrase



Hope this helps for you.

Also;
Automount will fail when autologin is used.


Found it all on this wonderfull page from bodhi.zazen.
http://bodhizazen.net/Tutorials/Ecryptfs/


ps; I've never seen a sloved thread, only solved ones.;)

Vrekk
July 6th, 2009, 08:36 PM
Wow that worked perfectly! It automounts the way it should now. Thanks for all the help.
Thanks problem solved (spelled it right this time)

mhgsys
July 6th, 2009, 08:53 PM
you did!~


Nice to see it's working !

And again;

;) Your welcome.