pwd_controlaula(8) create a file with a VNC encrypted password


pwd_controlaula passwd-file passwd


pwd_controlaula allows you to set the password used to access VNC desktops. It stores an obfuscated version of the given passwd in the given passwd-file file. So, a vnc server will be able to start with the -passwd command using the given password.

This small application is based on the vncpasswd from the vnc4-common Debian package.

The password must be at least six characters long, and only the first eight characters are significant. Note that the stored password is not encrypted securely - anyone who has access to this file can trivially find out the plaintext password. However, when accessing a VNC desktop a challenge-response mechanism is used over the wire making it hard for anyone to crack the password simply by snooping on the network.


This program has these mandatory arguments:

passwd-file file where the encrypted password for vncserver use.
passwd plain text password to be encrypted.


pwd_controlaula was written by José L. Redrejo Rodríguez

This manual page was written by José L. Redrejo Rodríguez <jredrejo at> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.