how can i use the root passwd as the vnc default passwd -
Tue Apr 1 21:54:00 2003
The encrypted root password as stored in /etc/shadow cannot easily be
converted back to its plain text. So it's not going to be simple to do this.
It might also make the system much less secure (eg someone could quickly
find the root passwd by gaining access to a backup tape containing
I'm assuming you want to run the VNC server as root.
My advice would be to start vnc server with rfbauth=/dev/null and then use
SSH to connect to the box, it should be easy to write a script that extracts
the clients address from $SSH_CLIENT, and then uses vncconnect to initiate
the connection in reverse.
(run the viewer in listen mode before you start)
If you're super paranoid about security then its probably also wise to start
a root Xvnc with -nolisten tcp.
(I regard this as a weakness in VNC, it would be much more secure if access
via vncconnect could be disabled when reqd)
----- Original Message -----
From: "Beerse, Corni" <firstname.lastname@example.org>
To: "'wushanyi'" <email@example.com>; <VNC-List@realvnc.com>
Sent: Tuesday, April 01, 2003 9:36 AM
Subject: RE: how can i use the root passwd as the vnc default passwd
> > -----Original Message-----
> > From: wushanyi [mailto:firstname.lastname@example.org]
> > i use realvnc 3.3.7 in RH8
> > i need the default connect password is the root passwd
> > how can i realization this when i first start vnc???
> There is no default. If you need an update:
> Use `vncpasswd`, it will update the password file in ~/.vnc/.
> (This might even work on-the-fly ;-)
> You can also just remove the passwordfile and restart `vncviewer.
> Both ways will ask you for a new password.
> VNC-List mailing list