MAN page from OpenSuSE tightvnc-1.3.10-10.4.1.x86_64.rpm
Section: TightVNC (1)
Updated: August 2006Index
vncpasswd - set passwords for VNC server
utility should be used to create and changepasswords for the TightVNC server authentication. Xvnc
uses suchpasswords when started with the -rfbauth
command-line option(or when started from the vncserver
vncpasswd allows to enter either one or two passwords. The firstpassword is the primary one, the second password can be used forview-only authentication. Xvnc will restrict mouse and keyboardinput from clients who authenticated with the view-only password. Thevncpasswd utility asks interactively if it should set the secondpassword.
The password file name defaults to $HOME/.vnc/passwd unless the-t command-line option was used (see the OPTIONS sectionbelow). The $HOME/.vnc/ directory will be created if it does notexist.
Each password has to be longer than five characters (unless the-f command-line option was used, see its description below). Only the first eight characters are significant. If the primarypassword is too short, the program will abort. If the view-onlypassword is too short, then only the primary password will be saved.
Unless a file name was provided in the command-line explicitly, thisutility may perform certain sanity checks to prevent writing apassword file into some hazardous place.
If at least one password was saved successfully, vncpasswd willexit with status code 0. Otherwise the returned status code will beset to 1.
- Write passwords into /tmp/$USER-vnc/passwd, creating the/tmp/$USER-vnc/ directory if it does not exist, and checking thepermissions on that directory (the mode must be 700). This option canhelp to improve security when your home partition may be shared vianetwork (e.g. when using NFS).
- Filter mode. Read plain-text passwords from stdin, write encryptedversions to stdout. One or two passwords (full-control and view-only)can be supplied in the input stream, newline terminates a password. Note that in the filter mode, short or even empty passwords will besilently accepted.
Original VNC was developed in AT&T Laboratories Cambridge. TightVNCadditions were implemented by Constantin Kaplinsky. Many other peopleparticipated in development, testing and support.
Man page authors:
Marcus Brinkmann <Marcus.BrinkmannAATTruhr-uni-bochum.de>,
Tim Waugh <twaughAATTredhat.com>,
Constantin Kaplinsky <constAATTtightvnc.com>
- SEE ALSO
This document was created byman2html,using the manual pages.