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] [-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 [-f ADDRESS] 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.
Set the user's message count limit.
Do not create a mailbox for this user. Defaults to true for vaddalias.
Set the path to the user's mailbox. Note that this directory is unconditionally prefixed with ``./''.
Set the account's expiry time (in seconds).
Add a forwarding address to this user (this may be used multiple times).
Do not ask for a password, and instead set the pass phrase field to an unusable value.
Set the user's personal information.
Set the user's hard quota (in bytes).
Set the user's soft quota (in bytes).
Suppress all status messages.
Set the user's message size limit (in bytes).
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>