Streisand: Is there any way I can change the loging username/password of streisand.html?

Created on 13 Feb 2017  Â·  5Comments  Â·  Source: StreisandEffect/streisand

it's to hard to remeber.

aregateway kinfeature kinquestion

Most helpful comment

@panzihan That tutorial is for Ubuntu 14.04 and Streisand creates a 16.04 instance. You also don't need to do the initial password authentication setup since Streisand does that too! The only thing you need to do is update/replace the /etc/nginx/htpasswd file. You can do this the same way Streisand does by running (as root on the server):

htpasswd -b -c /etc/nginx/htpasswd streisand "my-new-password-here"

and then make sure to reload nginx by running (again as root):

service nginx reload.

After that you should be able to log in to the Streisand gateway using the username 'streisand' and whatever new password you set.

If this doesn't work for you I suggest that you try to find a general purpose Linux server administration forum that could help - it isn't really a Streisand question. The ubuntu forums or Server Fault are two good places to start.

Hope that helps!

All 5 comments

Create a new htpasswd file at /etc/nginx/htpasswd

Closing this issue - @sjug's answer is correct if you wish to do this as a one-off change. If you need help feel free to reopen this issue!

Hi guys
I tried to configure Nginx in accordance with this tutorial:<How To Set Up Password Authentication with Nginx on Ubuntu 14.04>, but the username and password did not change。I do not know where it is wrong。@sjug @cpu

@panzihan That tutorial is for Ubuntu 14.04 and Streisand creates a 16.04 instance. You also don't need to do the initial password authentication setup since Streisand does that too! The only thing you need to do is update/replace the /etc/nginx/htpasswd file. You can do this the same way Streisand does by running (as root on the server):

htpasswd -b -c /etc/nginx/htpasswd streisand "my-new-password-here"

and then make sure to reload nginx by running (again as root):

service nginx reload.

After that you should be able to log in to the Streisand gateway using the username 'streisand' and whatever new password you set.

If this doesn't work for you I suggest that you try to find a general purpose Linux server administration forum that could help - it isn't really a Streisand question. The ubuntu forums or Server Fault are two good places to start.

Hope that helps!

Create a new htpasswd file at /etc/nginx/htpasswd

I found the file gateway-password.txt contains my passowrd, not the htpasswd, is there something misunderstand?

Was this page helpful?
0 / 5 - 0 ratings