14

I have installed OpenSUSE on my laptop. I am trying to connect to my wifi. I entered my wifi password (correctly) and then it is asking for my KDE wallet password. I set the KDE password but forgot it.

Is there any way to reset it or do I have to reimage my laptop?

1

2 Answers 2

18

You can just remove the wallet instead. Next time a new password will be asked.

cd $(kde4-config --localprefix)share/apps/kwallet
mv kdewallet.kwl kdewallet.kwl.bak

(if your wallet is called kdewallet.kwl)

2
  • Works on Ubuntu too!
    – Grizly
    Mar 29, 2013 at 0:13
  • 3
    Tried on Debian in 2018, apparently wallets have been moved to conform with the XDG base directory specification. I found mine in ~/.local/share/kwalletd/. Sep 2, 2018 at 20:32
7
  • Backup your existing wallet
cd $HOME/.local/share/kwalletd/ 
BACKUP_DATE=$(date +"%F-%X")
mv kdewallet.kwl "kdewallet.kwl-${BACKUP_DATE}.bak"
mv kdewallet.salt "kdewallet.salt-${BACKUP_DATE}.bak"
  • Create your new wallet, and if all is OK, optionally remove those two backup files.

Like @FrontierPsycho hinted, wallets have been moved to conform with the XDG base directory specification. Confirmed for KDE on Debian Buster and Ubuntu bionic, too. (This is just moving comment to an answer, including the salt file)

1
  • In Ubuntu 20 BACKUP_DATE gets set to include a space. So the move commands need their targets quoted.
    – Joshua
    Aug 19, 2020 at 18:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .