Setting the Password for a Virtual Machine
In Parallels Server for Mac Bare Metal Edition, you can use the --userpasswd option of the pctl set command to create new accounts in your virtual machines directly from the Parallels server. The created account can then be used to log in to the virtual machine. 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. For example, to change the password for user1 in the MyVM virtual machine to 0pi65jh9 , run this command:
# pctl set MyVM --userpasswd user1:0pi65jh9
Note: You can use manage user accounts only inside virtual machines that have Parallels Tools installed.
|