Store password so your not prompted

Should you have problems with the MS logon plugin, here's the place to look for help or report issues.

Store password so your not prompted

Postby Ryan138313 » 2012-08-31 21:20

Is there a way to save the password with the latest version so you do not get prompted when connecting to a server?
Ryan138313
8
8
 
Posts: 10
Joined: 2012-08-31 21:17

Re: Store password so your not prompted

Postby Rudi De Vos » 2012-09-01 09:53

No, the ini files are not encrypted.
Saving a admin password of a server in a non protected file is a bad idea.

The only way it's possible is by using the encryption plugin with a key.
Only a viewer that has the same key as the server can connect.
You can disable the vnc passwd as you are protected by the key...

Just make sure you save the key at a save place..
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5295
Joined: 2004-04-23 10:21

Re: Store password so your not prompted

Postby Ryan138313 » 2012-09-02 00:08

So setting the password in the server settings, no possible way for it to encrypt/save it in the settings period?

This is not using group/ad based authentication, just a password set on the server.
Ryan138313
8
8
 
Posts: 10
Joined: 2012-08-31 21:17

Re: Store password so your not prompted

Postby Rudi De Vos » 2012-09-03 10:57

The viewer only allow to save the vnc password.
The windows (user/passwd) used by mslogon, can not be saved in the viewer file.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5295
Joined: 2004-04-23 10:21

Re: Store password so your not prompted

Postby Ryan138313 » 2012-09-04 00:14

Thank you for the information., I know about the MSLogon (wouldn't want to store it). IS there a way to save the vnc password, be it registry, or anyway so it does not have to be typed each time.

Also, does ultravnc support Radius for authentication?
Ryan138313
8
8
 
Posts: 10
Joined: 2012-08-31 21:17

Re: Store password so your not prompted

Postby Rudi De Vos » 2012-09-04 07:23

viewer:
make connection
save connection info as
answer yes when asked to save password

No radius support.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5295
Joined: 2004-04-23 10:21

Re: Store password so your not prompted

Postby Ryan138313 » 2012-09-04 16:07

Just want to post how to do this:

Connect to a host that you want to store the password to (if using vncpassword, not mslogon):

Right click the task bar at the top of the window where it gives you the host name, ip, etc
Choose save connection info as
Save the file as a .vnc file
Right click the vnc file > edit
Get your encrypted password from your ini and copy the encrypted password and paste it in the .vnc shortcut: password=0000000000000 replace the 0000000000000 with the encrypted password from the INI (do not make any changes to your INI)
Remove the IP address from host=
Now you can connect with the saved password, just D click the shortcut to connect to any host.

If you need to rotate the password, you update the ini, push it out and then update the shortcut icon with the saved password.
Ryan138313
8
8
 
Posts: 10
Joined: 2012-08-31 21:17

Re: Store password so your not prompted

Postby swesound » 2013-10-29 21:05

I know this is an old thread, but here is a way to save a user/password when using the MSII domain authentication plug-in. The drawback is that the user/pass is in plain text.
1. Create a shortcut in Windows.
2. For the shortcut target put the path to your vncviewer.exe and the following switches: Example. "C:\Program Files\UltraVNC\vncviewer.exe" -user <user name> -password <password> <FQDN or IP address of server to connect to> Replace <> with your info.
3. Now when you click on the shortcut, it will open the viewer and connect to your server with the credentials you entered.

Scott
swesound
 
Posts: 5
Joined: 2013-09-10 20:44

Re: Store password so your not prompted

Postby Bonji » 2013-11-04 16:11

A little more secure method is to use a wrapper that calls VNCViewer.exe and prompts for the password the first time. Then any subsequent connections will use the username/password or password in memory to connect. It's not ultra secure, but it is far superior to saving the password in a file and super convenient.
-Ben
Bonji
100
100
 
Posts: 325
Joined: 2008-05-13 14:54


Return to MS logon plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron