From edd799c66c35f283c6fd558449be6c25373b7c16 Mon Sep 17 00:00:00 2001 From: David Christenson Date: Tue, 7 Apr 2015 20:25:57 -0600 Subject: [PATCH] Fix Mac OS X command. The file path was obsolete and it would have deleted all preferences instead of only those relevant to locking. --- I-forgot-my-UI-lock-password.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/I-forgot-my-UI-lock-password.md b/I-forgot-my-UI-lock-password.md index 59d1cc6..03c255d 100644 --- a/I-forgot-my-UI-lock-password.md +++ b/I-forgot-my-UI-lock-password.md @@ -1,4 +1,4 @@ -You locked qBittorrent user interface and forgot the password you used? +You locked the qBittorrent user interface and forgot the password you used? Don't worry, you can recover from this. ## Windows @@ -27,8 +27,10 @@ locked=true ## Mac OS X * Kill qBittorrent -* Open a terminal and type the following: -``rm $HOME/Library/Preferences/com.qbittorrent.plist*`` +* 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. \ No newline at end of file