Quantcast
Channel: MultiTech Developer Resources » All Posts
Viewing all articles
Browse latest Browse all 7111

Change root password & disable administration panel

$
0
0

Hello community, I’m trying to secure my gateway before deploying it on site.

Currently I’m struggling changing my root password and disable the HTTP interface.

Already tried:

passwd

curl -k -X PUT -H "Content-Type: application/json" -d '{ "name": "admin", "password": "PASS_HERE", "permission": "admin" }' "https://127.0.0.1/api/users"

curl -k -X PUT -H "Content-Type: application/json" -d '{"http":{"enabled": false, "lan": false, "redirectToHttps": false}, "https":{"enabled": false, "lan": false}}' "https://127.0.0.1/api/remoteAccess"

1) Passwd & Curl seems to work fine but when I reboot the gateway the password is the default again, both for SSH and HTTP.

2) For the interface:

HTTP Redirect to HTTPS is disabled and “via LAN” is disabled too.

But I can access it :)

thanks !


Viewing all articles
Browse latest Browse all 7111

Trending Articles