Results 1 to 3 of 3

Thread: change both login/sudo and default-keyring passwords with one operation?

  1. #1
    Join Date
    Oct 2007
    Beans
    183
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Question change both login/sudo and default-keyring passwords with one operation?

    How to change both the login/sudo and default-keyring passwords with one operation? If I recall correctly, to change one's

    • login and sudo password, one must use `passwd` or System>Preferences>About Me>Change Password
    • default-keyring password, one must goto Accessories>Passwords and Encryption Keys>Passwords, rclick on keyring>Change Password


    Is there a way to do both with one operation? preferably from commandline? preferably in karmic?

  2. #2
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: change both login/sudo and default-keyring passwords with one operation?

    Quote Originally Posted by tlroche View Post
    How to change both the login/sudo and default-keyring passwords with one operation? If I recall correctly, to change one's

    • login and sudo password, one must use `passwd` or System>Preferences>About Me>Change Password
    • default-keyring password, one must goto Accessories>Passwords and Encryption Keys>Passwords, rclick on keyring>Change Password


    Is there a way to do both with one operation? preferably from commandline? preferably in karmic?
    They are two different, unrelated things. The Keyring password is for GUI apps and has nothing to do with your account login password (which is used by sudo).
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  3. #3
    Join Date
    Dec 2006
    Beans
    2

    Re: change both login/sudo and default-keyring passwords with one operation?

    Since Ubuntu 10.04 defaults to setting the keyring password to the same password as your user password (sudo) it become important to keep them aligned. I am very cautious and I have set up password policies as to ensure I change my password regularly BUT every time I do so I have to manually change the password of the keyring manually in the graphical interface.

    If I knew how to do this by the command-line I could develop a script.

Tags for this Thread

Bookmarks

Posting Permissions

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