LowPowerLab Forum

Software support => Pi Gateway => Topic started by: Nspector5 on May 20, 2016, 10:33:38 AM

Title: How to change web login or add additional users
Post by: Nspector5 on May 20, 2016, 10:33:38 AM
Hello,

I was wondering how to do the following for my Gateway -

Change my user/password credentials for the web login
Create additional user/password for additional login(s)

Thank you
Title: Re: How to change web login or add additional users
Post by: Felix on May 20, 2016, 03:27:04 PM
As mentioned in the guide (https://lowpowerlab.com/gateway/#pisetup), you can use this command to generate more user/password credentials:

sudo echo -e "USERNAME:`perl -le 'print crypt("PASSWORD","SALT")'`"  (replace USERNAME, PASSWORD, SALT with whatever you need)

Then add the output to your .htpasswd file:

sudo nano /home/pi/gateway/data/secure/.htpasswd
Title: Re: How to change web login or add additional users
Post by: Nspector5 on May 20, 2016, 03:56:33 PM
Thanks. I'm not sure how I missed the note for additional users, but I did.