Setting Passwords for Virtual Machines and Containers
In Parallels Server Bare Metal, you can use the
--userpasswd
option of the
pctl set
command to create new accounts in your virtual machines and Containers directly from the Parallels server. The created account can then be used to log in to the virtual machine and Container. The easiest way of doing it is to run this command:
# pctl set MyVM --userpasswd user1:2wsx123qwe
This command creates the
user1
account in the
MyVM
virtual machine and sets the
2wsx123qwe
password for it. Now you can log in to the
MyVM
virtual machine as
user1
and administer it in the same way you would administer a standalone server: install additional software, add users, set up services, and so on.
The pctl set command can also be used to change passwords for existing accounts in your virtual machines and Containers. For example, to change the password for user1 in the MyVM virtual machine to 0pi65jh9, run this command:
# pctl set MyVM --userpasswd user1:0pi65jh9
When setting passwords for virtual machines and Containers, keep in mind the following:
-
You can use manage user accounts only inside virtual machines that have Parallels Tools installed.
-
You should use passwords that meet the minimum length and complexity requirements of the respective operating system. For example, for Windows Server 2008, a password must be more than six characters in length and contain characters from three of the following categories: uppercase characters, lowercase characters, digits, and non-alphabetic characters.
-
You should not create accounts with empty passwords for virtual machines and Containers running Linux operating systems.
|