设计时,删除保险箱只能解锁保险箱后,才能删除。 但是,使用过程中,用户经常提出疑问,遗忘密码和恢复密钥后,想继续使用新的保险箱,但是原来的保险箱无法删除,导致没有办法创建新的保险箱,这该怎么办? 执行下面这段脚本即可。 #!/bin/bash mkdir ~/temp_file_vault sudo umount ~/.local/share/applications/vault_unlocked/ sudo rm -r ~/.local/share/applications/vault_unlocked/ sudo rm -r ~/.local/share/applications/vault_encrypted/ sudo rm ~/.local/share/applications/passwordHint sudo rm ~/.local/share/applications/rsaclipher sudo rm ~/.local/share/applications/rsapubkey sudo rm ~/.local/share/applications/pbkdf2clipher sudo rm ~/.local/share/applications/vaultConfig.ini
|