CENTOS7 change VNC login password

Function description

Use the vncpasswd command to create or change a VNC login password. This will also create a hidden directory ".vnc" in the user's home directory. There is a file passwd in the directory that holds the VNC login password.

Command syntax

vncpasswd [password file]
vncpasswd [options]

Option meaning

Options meaning
-f Filter mode

Example

Create or change the VNC login password
[[email protected]~]# vncpasswd
passwd: //Set the VNC login password of user root
Verify: //Enter the VNC login password of user root again

Guess you like

Origin blog.csdn.net/kakak2000/article/details/105735348