vadduser - Add a user to a virtual domain
vadduser [-c INT] [--msgcount=INT] [-D] [--no-mailbox] [-d STR] [--directory=STR] [-e INT] [--expiry=INT] [-f STR] [--forward=STR] [--password=STR] [-P] [--no-password] [-p STR] [--personal=STR] [-Q INT] [--hardquota=INT] [-q INT] [--softquota=INT] [--quiet] [-z INT] [--msgsize=INT] USERNAME [ALIAS1 ...]\n`` ''or vaddalias USERNAME [ALIAS1 ...]
This program is used to set up a user within a virtual host. If this program is reading from a tty, it will then ask for a password (twice, to make sure you typed it in correctly), otherwise it will read the password from the input with no prompting. It will then add the user to the virtual password table in the current directory and create a mail directory for the new user. It will also add an entry for each of the named aliases.
0 if all steps were successful, non-zero otherwise. If any of the steps fail, a diagnostic message is printed.
vsetup(1)
You must have either created the users subdirectory by hand or run the vsetup program before using this program.
This program expects the environment variable HOME
to be set, and
executes a change directory to the contents of it before starting. It
is also required that you change user to the domain owner before using
these utilities.
Bruce Guenter <bruceg@em.ca>