| Previous | Contents | Index |
Add a new user account to the popstore or MessageStore.
add username
add -domain domain-name
Command Switches -confirm -domain -flags=flags -log -overdraft=value -owner=owner -password=password -private=data -prompt -pwdexpired -quota=value
username
Username to associate with the account or accounts being created.domain-name
Name of the user domain to create.
Theaddcommand is used to create a new popstore user accounts. Initial settings for the account are taken from thedefaultaccount. Those settings can then be overridden with the command line switches described below. If a supplied username conflicts with an existing account, no new account is created and an error message is issued. Note that account usernames are case insensitive. That is the usernamesJDOE,JDoe, andjdoeare all identical. To create a new user domain, specify the-domainswitch. If the domain already exists, an error will be issued. Otherwise, it will be created and adefaultuser account for that domain created. The newdefaultaccount will be a copy of thedefaultaccount from thedefaultdomain. To begin creating accounts in the new domain, use theset domaincommand. The maximum length of a user domain name is 40 bytes.
Note
Your PMDF-POPSTORE license controls the number of popstore user accounts which you can have at any one time. When you reach this limit, you will not be allowed to create additional accounts without first deleting some accounts or obtaining a new license with an increased limit. Sites without a PMDF-POPSTORE license are allowed to use the popstore and create up to ten user accounts. This limit does not include thedefaultaccount. Use theshow -count_userscommand to display the number of currently defined accounts as well as the limit allowed by your license.
-confirmPrompt for positive confirmation before carrying out the indicated operation.
-noconfirm(default)-noconfirmis the default behavior.Create a new user domain. This switch can not be used in conjunction with any of the other
-domainaddcommand switches.Specify one or more usage flags to associate with the new account. The recognized flags are as follows:
-flags=(flag[,...])
dismailUser is not allowed to receive new mail messages. disuserUser is not allowed to access their account. lockpwdUser is not allowed to change their password. manageUser is allowed to manage popstore accounts. migratedInternal flag used by the PMDF migration utilities. pwd_elsewherePassword information is stored outside of the popstore. nodismailUser is allowed to receive new mail messages. nodisuserUser is allowed to access their account. nolockpwdUser is allowed to change their password. nomanageUser is not allowed to manage popstore accounts. nomigratedInternal flag used by the PMDF migration utilities. nopwd_elsewherePassword information is stored within the popstore.
-logWhen the operation is successful, output a status message stating that the operation succeeded. Note that error messages are always indicated.
-nolog(default)-nologis the default behavior.
-overdraft=valueThe
-nooverdraft-overdraftswitch specifies the amount of message storage by which the account can exceed its message storage quota. If the account is currently using less than its storage quota, then a new message can be stored provided that it will not result in the account's storage exceeding the sum of its storage and overdraft quotas. By default, this quantity is specified in units of kbytes; however, theset storage_unitscommand can be used to change the units used. The-nooverdraftswitch is equivalent to specifying-overdraft=0and indicates that the account has no overdraft quota. The maximum value is 4 gigabytes minus 1. If the value specified exceeds the maximum, the value is set to zero (no overdraft quota).A text string specifying the name of the owner of the account. The length of the string can not exceed 40 bytes. The owner field is not used by the popstore itself; it is generally used by humans to associate account usernames with the actual owner of the account.
-owner=owner
-password=passwordSpecifies the account's access password. The length of the password can not exceed 32 bytes. Access by non-managers to the account requires knowledge of this password. For instance, to access the account from a POP3 client, the correct username and password associated with the account must be supplied. When
-nopassword-nopasswordis specified, the account has no password and anyone can access it. Note that passwords are case sensitive.Site-specific account data can be stored in the account profile file using this switch. The data string can not exceed a length of 64 bytes. This data is not used by the popstore itself but can be used by site-developed procedures which access account profiles.
-private=data
-prompt(default)By default if a wildcard is used, even if
-noprompt-noconfirmis specified, one confirmation prompt is issued. If-nopromptis specified, there is no prompting at all.
-pwdexpiredIf
-nopwdexpired(default)-pwdexpiredis specified, then the account is marked as pre-expired. This means that if password expiration is enabled through thePASSWORD_LIFETIMEoption, then the user must change their password immediately.If
-nopwdexpiredis specified (the default), then the account is marked as not pre-expired. The time of last password change is set to the current time. If password expiration is enabled, then the user does not have to change the password until thePASSWORD_LIFETIMEhas run out.
-quota=valueThe account's message storage quota. The account can continue to receive new messages so long as the storage consumed by its currently stored messages does not exceed its message storage quota. See also
-noquota-overdraft. A quota value of zero, conveys unlimited storage. That is, to grant an account unlimited storage set its quota to zero. By default, this quantity is specified in units of kbytes; however, theset storage_unitscommand can be used to change the units used. When-noquotais specified, the account is granted unlimited storage quota.-noquotais equivalent to-quota=0. The maximum value is 4 gigabytes minus 1. If the value specified exceeds the maximum, the value is set to zero (unlimited quota).
To create the account
jdoefor Jane Doe with the passwordSeCrEt, and a quota of 10 Mbytes (10240 Kbytes), use the command
popstore> add jdoe -password=SeCrEt -owner="Jane Doe" -quota=10240 popstore> show jdoe Username: jdoe Owner: Jane Doe Group: Store Type: popstore Usage flags: Site-defined: Last pwd change: Fri 15 Nov 15:33:02 2012 Last connect: No time recorded Last disconnect: No time recorded Total connect time: 0 00:00:00 Total connections: 0 Past block days: 0 Last billing: Fri 15 Nov 15:33:02 2012 Message count: 0 (0 total messages received) Quota used: 0.00 Kbytes Quota: 10240.00 Kbytes Overdraft: 20.00 Kbytes
| Previous | Next | Contents | Index |