Adding a User to a Domain

To add a user to a domain, use the AddVirtUser script. This script adds a user to a domain, specifying the information Parallels Pro needs to add the user, as well as the server applications to which the user should be granted access.

You can specify the user's password in either of two ways.

Syntax

/usr/local/bin/AddVirtUser [tpasswd=<ctxtpwd> | cpasswd=<crpwd> | passwd] \ <domain name> <username> <user's full name> <user's disk quota> \ <service>=<value>

where:

Note: To use this option, you first need to employ encryption software to encrypt the password. Enter the encrypted text in this variable.

Note: Use any one of the above three options to enter the user's password depending on the security level desired while entering the password.

Note: The services currently available are Telnet, ProFTPd, and SSH.

AddVirtUser tpasswd=MTVrules example.com uname "John Doe" 20 \
telnet=1 ssh=1 proftpd=1

In this example, the script adds a user with the following specifications.