how can i use the root passwd as the vnc default passwd -
DONT
Tim McGarry
tim@mcgarry.ch
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
~root/.vnc/passwd.
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)
Cheers
Tim McGarry
----- Original Message -----
From: "Beerse, Corni" <c.beerse@torex-hiscom.nl>
To: "'wushanyi'" <wushanyi@langchao.com.cn>; <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:wushanyi@langchao.com.cn]
> >
> > 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.
>
>
> CBee
> _______________________________________________
> VNC-List mailing list
> VNC-List@realvnc.com
> http://www.realvnc.com/mailman/listinfo/vnc-list