# Can't change or reset password for GUI

**URL:** https://forum.syncthing.net/t/cant-change-or-reset-password-for-gui/12829
**Category:** Support
**Created:** [February 8, 2019, 9:52am UTC](https://forum.syncthing.net/t/cant-change-or-reset-password-for-gui/12829 "2019-02-08T09:52:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![neo2001](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/n/3ab097/32.png) [@neo2001](https://forum.syncthing.net/u/neo2001)
#### Post date: [February 8, 2019, 9:52am UTC](https://forum.syncthing.net/t/cant-change-or-reset-password-for-gui/12829/1 "2019-02-08T09:52:59Z")

</div>

Since I forgot my password, I removed the “user” and “password” elements from the config.xml file.

The GUI then warns me, that there is no password set, which is to be expected.

But if I enter a new user/password combination in the GUI and save it, the config.xml file isn’t updated, although I don’t get any error messages. I still get the warning and don’t need a password to access the GUI.

I tried to restart Syncthing in the GUI and directly using systemctl.

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [February 8, 2019, 10:49am UTC](https://forum.syncthing.net/t/cant-change-or-reset-password-for-gui/12829/2 "2019-02-08T10:49:03Z")

</div>

Odd. Did you make the config.xml read only for the syncthing user when you made the manual change, maybe?

---

<div class="post-metadata">

### Author: ![neo2001](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/n/3ab097/32.png) [@neo2001](https://forum.syncthing.net/u/neo2001)
#### Post date: [February 8, 2019, 1:45pm UTC](https://forum.syncthing.net/t/cant-change-or-reset-password-for-gui/12829/3 "2019-02-08T13:45:04Z")

</div>

```
# ls -la
total 60
drwx------ 3 syncthing users 4096 Feb 8 14:33 .
drwx------ 3 syncthing users 4096 Dez 8 2016 ..
-rw-r--r-- 1 syncthing users 615 Dez 8 2016 cert.pem
-rw------- 1 syncthing users 19830 Feb 8 13:02 config.xml
-rw------- 1 syncthing users 825 Feb 8 14:30 csrftokens.txt
lrwxrwxrwx 1 syncthing users 19 Feb 8 14:28 https-cert.pem -> /etc/ssl/xxxxx.crt
lrwxrwxrwx 1 syncthing users 27 Feb 8 14:28 https-key.pem -> /etc/ssl/private/xxxxx.key
drwxr-xr-x 2 syncthing users 20480 Feb 8 14:30 index-v0.14.0.db
-rw------- 1 syncthing users 288 Dez 8 2016 key.pem

```

It works fine now. No idea what went wrong. I replaced the GUI part of the config.xml with one from another system. After that I could reconfigure the GUI settings in the GUI itself. Maybe a typo. The syncthing user had/has access to the file.

Another idea is, that I replaced the SSL certificate with my own. But the link target was empty and Syncthing wanted to recreate it’s own certs, but couldn’t because of the links…

Anyway, everything works fine again. 🙂

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [March 10, 2019, 1:45pm UTC](https://forum.syncthing.net/t/cant-change-or-reset-password-for-gui/12829/4 "2019-03-10T13:45:06Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
