PDA

View Full Version : How do i set up a username and password when i want to access remotely via HTTP?



deckymckeown
10-11-10, 22:51
I have registered with dyndns.org and can access my vu+ duo remotley using my dyndns address and port number.

I want to make this more secure and as such have checked enable HTTP Authentication from the Web Interface menu on the box.

I have checked the walkthrough guide posted here, and followed it but allow it refers to assuming a username and password has already been set up on the receiver it doesnt state how this is done?

When i try to access my recevier from another PC with HTTP activated i have tried many variations of username/password, root, etc etc and even the username and password registered with my dyndns account, but still cant access it.

I imagine i need to set a username and password up on the vu duo, but how?

cervot
10-11-10, 23:15
open a telnet session (you can use a proggy called putty amongst many others or on windows just goto start/run type cmd press enter, which will open a command prompt and type telnet then the ip address of your box) to your box. username is usually root, and the password is usually left blank, after you have logged in type passwd it will then ask you for a new password, dont worry if you just see a blinking cursor, just type your new password and press enter it will ask you to retype the password to confrm, that will change your password from the defualt blank/empty password, username is usually always root as i have said before, you should now be able to login with your username root and whatever your new password is. hope this helps

deckymckeown
11-11-10, 00:02
thanks a lot cervot, ill give it a try. Thought i was going slighty insane as i couldnt find a set password option in the menu!

Huevos
11-11-10, 01:07
The above is to set you Linux password. You want to set http authentication, which is something I believe you do when you flash the box and enter initial settings.

Huevos
11-11-10, 10:10
which is something I believe you do when you flash the box and enter initial settings.Sorry, this was wrong. In VIX you access those settings through plugins -> Webinterface setup.

deckymckeown
11-11-10, 11:30
cheers for info Huevos

bobonthejob
11-11-10, 13:57
Dunno if this is what you mean....

But once you get prompted for the username and password just use the details below....as they are already setup.

Username: root
Password: (This is blank by default, however you may have changed it)

If you have not set the root password to something other thatn the default then you can do this by locally connecting via a telnet/ssh session to the box ( u can use putty) and then run the command 'passwd' at the prompt. Set your password and then this will be the password you will login with in the above step.

I hope this helps.

deckymckeown
12-11-10, 13:10
Not quite bobonthejob but possibly related to what i am asking...

when i change the password via telnet, it changes the ftp password, so when i try to access via flash fxp , its root and the new password. This is part of what i wanted.

When i type my ip address and port number i can access the vu+ remotely without a username and password. I am trying to set things up so i need to enter a username and password to access remotley to make it more secure.

So when i turn the http authentifciation on in the web interface plugin, and try to access remotley again, i am now asked for username and password. Should this password be the new password that i have now set up? If not how do i change/set up this password?

If so it aint working for me!!!

sonc
12-11-10, 13:58
I've only tried this on my local LAN, but I presume it will work the same from the internet.

When you turn on http authentication, the username and password that it asks for is the standard username and password you use to access your vu+ using telnet or ftp, i.e root and whatever password you use.

There isn't a separate username/password for http authentication.

Hope that helps.

Huevos
12-11-10, 14:06
There should be. Otherwise every time you connect to your server across the net anyone snooping can read your Linux root password (not a good idea).

bobonthejob
12-11-10, 14:44
I currently have this setup and is working a treat.

I just have the webinterface configured so to Authenticate via http....

When i access my box....eg. http://name.domain.com:xxxxx i get asked for username and password....

If you get to your box then obviously your firewall is forwarding correctly...

I then login with the root username and password.

sonc
12-11-10, 15:04
There should be. Otherwise every time you connect to your server across the net anyone snooping can read your Linux root password (not a good idea).

This is true, and why you should never use telnet or ftp over the net as the username and password are sent in plain text.

You could of course use https (http secure) instead of http to access the web interface. Https is enabled by default while http is disabled.

deckymckeown
12-11-10, 16:45
thank you all for your help.... so basically the password i change via telnet should then be the password i need to connect remotely via http, with root as the username?

Problem is though it wont connect, but i will try again later when i get home, by changing password again and rebooting the receiver etc

deckymckeown
12-11-10, 16:49
Dunno if this is what you mean....

But once you get prompted for the username and password just use the details below....as they are already setup.

Username: root
Password: (This is blank by default, however you may have changed it)

If you have not set the root password to something other thatn the default then you can do this by locally connecting via a telnet/ssh session to the box ( u can use putty) and then run the command 'passwd' at the prompt. Set your password and then this will be the password you will login with in the above step.

I hope this helps.

bobonthejob, perhaps you should post details of how to change the password as a sticky given that later posts have advised how the the root of the box could potentialy leave the receiver open to hacking if the password remains as default.

I had searched previously for posts relating to this but couldnt locate any

deckymckeown
12-11-10, 19:39
thank you all for your help.... so basically the password i change via telnet should then be the password i need to connect remotely via http, with root as the username?

Problem is though it wont connect, but i will try again later when i get home, by changing password again and rebooting the receiver etc

Problem now solved! I re-installed the image, changed password via telnet command passwd. I turned the http authentification on via web interface plugin.

When i log into my vu+ remotely via my ip address and port, i am now asked for username and password. Username is root and password is the new password i changed via telnet.

Thanks a lot guys, got there in the end with your help