blob: 9e681815b98abdd84578178db172d489ecaada3f [file] [log] [blame]
Pierre Ossmanf256a1a2014-09-17 14:09:58 +02001.TH vncpasswd 1 "" "TigerVNC" "Virtual Network Computing"
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +00002.SH NAME
DRC7f9ea272010-07-09 19:37:14 +00003vncpasswd \- change the VNC password
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +00004.SH SYNOPSIS
DRC7f9ea272010-07-09 19:37:14 +00005\fBvncpasswd\fR [\fIpasswd-file\fR]
6.br
7\fBvncpasswd\fR \-f
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +00008.SH DESCRIPTION
9.B vncpasswd
DRC7f9ea272010-07-09 19:37:14 +000010allows you to set the password used to access VNC desktops. Its default
11behavior is to prompt for a VNC password and then store an obfuscated version
12of this password to \fIpasswd-file\fR (or to $HOME/.vnc/passwd if no password
13file is specified.) The \fBvncserver\fP script runs \fBvncpasswd\fP the first
14time you start a VNC desktop, and it invokes \fBXvnc\fP with the appropriate
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +000015\fB\-rfbauth\fP option. \fBvncviewer\fP can also be given a password file to
16use via the \fB\-passwd\fP option.
17
DRC7f9ea272010-07-09 19:37:14 +000018The password must be at least six characters long (unless the \fB\-f\fR
19command-line option is used-- see below), and only the first eight
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +000020characters are significant. Note that the stored password is \fBnot\fP
21encrypted securely - anyone who has access to this file can trivially find out
DRC7f9ea272010-07-09 19:37:14 +000022the plain-text password, so \fBvncpasswd\fP always sets appropriate permissions
23(read and write only by the owner.) However, when accessing a VNC desktop, a
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +000024challenge-response mechanism is used over the wire making it hard for anyone to
25crack the password simply by snooping on the network.
26
DRC7f9ea272010-07-09 19:37:14 +000027.SH OPTIONS
28
29.TP
30.B \-f
31Filter mode. Read a plain-text password from stdin and write an encrypted
32version to stdout. Note that in filter mode, short or even empty passwords
33will be silently accepted.
34
Pierre Ossmane58fcb92018-05-07 16:03:45 +020035A view-only password must be separated from the normal password by a newline
36character.
37
DRC7f9ea272010-07-09 19:37:14 +000038
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +000039.SH FILES
40.TP
41$HOME/.vnc/passwd
42Default location of the VNC password file.
43
44.SH SEE ALSO
45.BR vncviewer (1),
46.BR vncserver (1),
47.BR Xvnc (1)
48.BR vncconfig (1),
49.br
Pierre Ossman32b96ff2018-10-19 14:56:53 +020050https://www.tigervnc.org
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +000051
DRC7f9ea272010-07-09 19:37:14 +000052.SH AUTHORS
Pierre Ossmane37a1442014-09-17 14:08:16 +020053Tristan Richardson, RealVNC Ltd., Antoine Martin, D. R. Commander and others.
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +000054
55VNC was originally developed by the RealVNC team while at Olivetti
Constantin Kaplinskybe1bda82006-06-02 04:43:52 +000056Research Ltd / AT&T Laboratories Cambridge. TightVNC additions were
Pierre Ossmane37a1442014-09-17 14:08:16 +020057implemented by Constantin Kaplinsky. Many other people have since
58participated in development, testing and support. This manual is part
59of the TigerVNC software suite.