Networking Forums

Networking Forums > Computer Networking > Linux Networking > VNC - vncviewer password authentication question

Reply
Thread Tools Display Modes

VNC - vncviewer password authentication question

 
 
somebody
Guest
Posts: n/a

 
      01-24-2005, 01:28 PM
I have two hosts on my home network, one is running Linux
and vncserver. When I type "vncserver :0" on the server,
it prompts me for a password, and created a passwd file
in ~/.vnc. Now on the client host, I can connect WITHOUT
entering a password by using the command:

vncviewer -passwd /home/myhome/.vnc/passwd rmthost.somedomain.com:0

What's to stop someone else from using the same vncviewer command
to access the server? It seems awfully insecure. I know I can
use iptables or configure my switch to deny access to port 5900,
but there must be a way to control this with VNC.

-Thanks

 
Reply With Quote
 
 
 
 
chris-usenet@roaima.co.uk
Guest
Posts: n/a

 
      01-24-2005, 03:09 PM
somebody <(E-Mail Removed)> wrote:
> I have two hosts on my home network, one is running Linux
> and vncserver. When I type "vncserver :0" on the server,
> it prompts me for a password, and created a passwd file
> in ~/.vnc. Now on the client host, I can connect WITHOUT
> entering a password by using the command:


> vncviewer -passwd /home/myhome/.vnc/passwd rmthost.somedomain.com:0


You've got the same password file on the client as on the server. Lots
of possible reasons for that - maybe you tried to run vncserver on both
at some point in the past, or you're using NFS/SMB to host your home
directory, or you use rsync, or ...

> What's to stop someone else from using the same vncviewer command
> to access the server?


They either need your password, or access to your password file, which
should be in a directory that only you can access (UNIX permissions).

Chris
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless Authentication ands Ecryption Question kelly Windows Networking 1 05-29-2008 08:39 PM
Proftpd user/password : Easy question trihanhcie@gmail.com Linux Networking 0 06-06-2006 08:01 AM
Quick question of authentication precedence Brandon Morris Windows Networking 0 11-10-2005 06:45 PM
Providing routing after password authentication Tim Owen Linux Networking 0 10-30-2005 04:42 PM
Mac OSX wireless password save question D.S. Hodgson Wireless Internet 1 11-22-2003 01:42 PM



1 2 3 4 5 6 7 8 9 10 11