Updated I forgot my UI lock password (markdown)

Mike Tzou 2016-05-05 00:01:02 +08:00
parent 11b24f07bc
commit acdd70786e
2 changed files with 38 additions and 35 deletions

@ -0,0 +1,38 @@
You locked the qBittorrent user interface and forgot the password you used?
Don't worry, you can recover from this.
## Windows
1. Kill qBittorrent process
2. Open `qbittorrent.ini` with a text editor, refer to [here](https://github.com/qbittorrent/qBittorrent/wiki/Frequently-Asked-Questions#Where_does_qBittorrent_save_its_settings) to see where it's located.
3. Remove the following lines:
```ini
[Locking]
password=<encrypted_password>
locked=true
```
4. Save the file
5. Start qBittorrent again
## Linux
1. Kill qBittorrent process
2. Open `qBittorrent.conf` with a text editor, refer to [here](https://github.com/qbittorrent/qBittorrent/wiki/Frequently-Asked-Questions#Where_does_qBittorrent_save_its_settings) to see where it's located.
3. Remove the following lines:
```ini
[Locking]
password=<encrypted_password>
locked=true
```
4. Save the file
5. Start qBittorrent again
## Mac OS X
* Kill qBittorrent
* Open a terminal and run the following command:
```shell
defaults delete com.qbittorrent.qBittorrent Locking.locked
defaults delete com.qbittorrent.qBittorrent Locking.password
```
* Start qBittorrent again

@ -1,35 +0,0 @@
You locked the qBittorrent user interface and forgot the password you used?
Don't worry, you can recover from this.
## Windows
* Kill qBittorrent
* Look for **qbittorrent.ini** file on your hard disk. It is usually located under _C:\Documents and Settings\USERNAME\Application Data\qBittorrent_ or _C:\Users\USERNAME\AppData\qBittorrent_
* Remove the following lines:
```c++
[Locking]
password=<encrypted_password>
locked=true
```
* Save the file
* Start qBittorrent again
## Linux
* Kill qBittorrent
* Edit _~/.config/qBittorrent/qBittorrent.conf_
* Remove the following lines (note they might be anywhere in the file, not necessarily adjacent):
```
WebUI\Password_ha1=@ByteArray(####################)
WebUI\Username=admin
```
* Save the file
* Start qBittorrent again
## Mac OS X
* Kill qBittorrent
* Open a terminal and run the following command:
```shell
defaults delete com.qbittorrent.qBittorrent Locking.locked; defaults delete com.qbittorrent.qBittorrent Locking.password
```
* Start qBittorrent again
The user interface should not be locked anymore. Next time you lock it, it will ask you to choose a password again.