Change Password#

A single login protects all ide49 applications. The default username and password are both iot49. To change them, replace the two occurrances of iot49 (the first is the username, the second the password) in the cell below with the desired username and password and run it from the IoT kernel:

%%service nginx -u root

cd /etc/nginx
echo Current Password File:
cat htpasswd

# set password
# htpasswd -cbB htpasswd "<username>" "<password>"
htpasswd -cbB htpasswd "iot49" "iot49"

# add additional passwords if desired (same account)
# htpasswd -bB  htpasswd user2 abc

echo
echo Updated Password File:
cat htpasswd
Current Password File:
iot49:$2y$05$9F.ZP8liPKIzgVdNINCKp..K/v0E3hTLRMJH4SApI7bvgFLJ.KQC6

Updated Password File:
iot49:$2y$05$Yy1BwuwWauET4Ta1sFhbWu2nYrPsX2XSwI5aWd7VB7Orv0OA9aE/K
Adding password for user iot49