Lost Username Password

From Domoticz
Jump to navigation Jump to search

By default Domoticz is protected by a username (admin) and password (domoticz).

Please either change the password as soon as possible through page Setup - My Profile or create a different admin user and remove the default (admin) user.


If you lost your username and password you can start domoticz with a command line argument that will bypass security.

Steps to perform:

Linux


- Make sure domoticz is stopped
- change to the folder where domoticz is installed
- start domoticz with command

./domoticz -nowwwpwd

or

sudo ./domoticz -nowwwpwd


An example to perform this on a raspberry pi:

ssh to your machine (default username/password is pi/raspberry)

cd domoticz

stop the domoticz service

sudo service domoticz.sh stop

Wait at least 15 seconds and check if it is stopped before continuing:
sudo service domoticz.sh status

Start domoticz by hand (as root) with the command line argument:

sudo ./domoticz -nowwwpwd



Now go to the settings page of domoticz, and verify or change:

- Admin username/password (menu Setup -> Users)
- Trusted network settings (Setup -> Settings -> tab Security)

- My Profile (Setup -> My Profile)


Windows

Stop the Domoticz service (if running)

Start Domoticz as an app, define in the target field of the Domoticz properties window (right click on Icon) and add -nowwwpwd parameter.

For example C:\Users\Public\Domoticz\domoticz.exe -www 8080 -sslwww 443 -nowwwpwd

Remove the -nowwwpwd parameter again once you have reset your User/Password.