Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to reset a password from kwallet?

I've read about a kwallet GUI that could be installed from synaptic, but I found nothing. Actually, it shows a GUI asking me the password, so is must have somewhere where I can change this password..

share|improve this question
up vote 7 down vote accepted

If you do not know the current password, it is not possible to "reset" it (this would be a security problem). It is only possible to remove the entire wallet and then kwallet should ask you to create a new password.

In order to delete the wallet, delete the file

/home/<user name>/.kde/share/apps/kwallet/kdewallet.kwl

If you do know the current password, then see Vaibhav Kaushal's answer below.

share|improve this answer
security problem? So why does "sudo" exists? anyway, thanks! – Tom Brito Jan 19 '11 at 11:17
This just isn't true: Vaibhav Kaushal's answer below gives the correct steps to change a KWallet password. – Richard Turner Mar 19 '13 at 15:00
@TomBrito Do you really think anybody with root access should be able to open your wallet? I believe this would be a serious security problem – txwikinger Mar 21 '13 at 3:19
For new versions of KDE: 4.14.16 is in: /home/<user name>/.local/share/kwalletd/kdewallet.kwl – Toni Gamez May 2 at 17:51

To change the password for KDE wallet, you need to first have it running. If it is not running, start it.

In the system tray, you would find its icon. Click on the icon (left-click, not right-click). A new window would open with the list of wallets (by default there is just 1). Right click the wallet and you have the option to change the password.

To delete the wallet, you can follow what txwikinger said.

share|improve this answer
How can you do this when you do not know the initial password to open the wallet? – txwikinger Mar 21 '13 at 3:18
It did not ask me the password! :o It does not do that now either! – Vaibhav Kaushal Mar 21 '13 at 8:09
Well.. but that is what the question asks about, as far as I understand, and that is what I answered. If you have set password protecting kwallet, that you do not know, you have no choice, but delete it, since otherwise it would be possible for any admin with root access to get at your passwords. – txwikinger Mar 21 '13 at 13:11

Since this question was originally answered, KDE has apparently changed, and I'd like to update this article to keep it useful.

As has been pointed out, (through no fault of the O.P.) the original question was indeed unclear: it asked how to reset password but did not supply the motivation:

  1. Remembered password, just resetting

    Do I remember my old KDE Wallet password, but I just want to reset (i.e., "update") it, perhaps because it has gotten old or I just want to make a better one? (thus Vaibhav Kaushal's answer)

  2. Lost password

    Did I lose my KDE Wallet password, and therefore the wallet must be deleted and re-created? (thus txwikinger's answer)

Update known KDE password

If you do have a KDE Wallet icon showing in your system tray, Vaibhav Kaushal's answer will work. But this system tray icon does not always show. (You can set that behavior after step 2 below, though, if you like.)

  1. KDE Launcher icon -> Settings -> System Settings (or systemsettings5 from the command prompt)
  2. Personalization -> Account Details -> KDE Wallet
  3. Way down in lower right (you may need to scroll down) click on the button, "Launch Wallet Manager" (or again, perhaps, just from the command prompt, type kdewalletmanager5)
  4. Now you are in the KDE Wallet Manager.
  5. Assuming you have only one (default) wallet, that wallet will be called kdewallet. That is the one that should be open in your KDE Wallet Manager now. If not, close any other wallets and open kdewallet.
  6. Click on "Change Password" button to the right.
  7. Continue with steps 9-12 in section below.

Recreate KDE wallet because of lost password

txwikinger's method of deleting the wallet (by deleting the kdewallet.kwl file) no longer works (at least as of my Kubuntu 15.10 / KDE 5). That is, (even if kdewallet is running) deleting that .kwl file doesn't result in the kde wallet service now asking you for a new password. For some reason (at least for me), the system just continues to ask for the (old) password, as if nothing changed. A bit frustrating.

Nowadays it appears as if the effective way to completely delete a wallet -- so that now KDE Wallet Services does ask you for a new password for the new kdewallet -- is to follow these steps:

  1. First do steps 1 through 5 above
  2. File -> Delete Wallet, and in the pop-up window, click 'Delete'.
  3. File -> New Wallet
  4. Name: same as before, kdewallet
  5. Put in your new password twice, hit Enter. You're good to go.
  6. Close wallet manager and KDE system settings.
  7. Just a reminder: The next time you try to open something needing the wallet, you may be asked to supply the password again once, each time the KDE Wallet services is re-initiated.
  8. User tip: Now get a good OFFLINE password manager. I like KeepassX which works in Linux, Mac, Win. Put your KDE Wallet password in there. Back up the password manager's file regularly (I suggest a zero-knowledge cloud such as SpiderOak over Dropbox).
share|improve this answer

Your Answer


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.