| Previous | Contents | Index |
Change characteristics of one or more existing accounts.
modify username
Command Switches -confirm -flags=flags -group=name -group_name=name -last_connect -last_disconnect -log -message_count=value -overdraft=value -owner=owner -password=password -past_block_days=value -private=data -prompt -pwdexpired -quota=value -received_bytes=value -received_messages=value -total_connect=value -total_connections=value
username
Name of the account for which to make the modifications. Can contain wild card characters.
Themodifycommand changes one or more characteristics of an existing account. Characteristics not specified with switches in the command are left unchanged. When the username parameter contains wild card characters, all matching accounts within the manager's management group and subgroups thereof will be modified. The-groupswitch can be used to further constrain which accounts are modified.
-confirmPrompt for positive confirmation before carrying out the indicated operation. When wild cards are not used,
-noconfirm-noconfirmis the default. When wild cards are used,-confirmis the default and a prompt is issued for each account to be operated upon. Moreover, when wild cards are used,-noconfirmcauses only a single prompt to be issued.Change the usage flags associated with the 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. Name of a management group to constrain the operation to. This switch can be used in conjunction with a username parameter containing wild card characters so as to further constrain the modify operation.
-group=nameChange the accounts to be in the specified management group. A manager can not change an account's management group to be a group outside of the manager's group.
-group_name=nameClear the user's last connect time field.
-last_connectClear the user's last disconnect time field.
-last_disconnect
-logWhen the operation is successful, output a status message stating that the operation succeeded. Note that error messages are always indicated.
-nolog-nologis the default behavior.Reduce the user's message count to the specified value, deleting stored messages if necessary. The act of deleting stored message will change the past block days field.
-message_count=value
-overdraft=valueChange the account's overdraft quota which is the amount of message storage by which the account can exceed its primary message storage quota. By default, this quantity is specified in units of kbytes; however, the
-nooverdraftset storage_unitscommand can be used to change the units used. Specifying-nooverdraftis equivalent to specifying-overdraft=0. The maximum value is 4 gigabytes minus 1. If the value specified exceeds the maximum, the value is set to zero (no overdraft quota).Change the accounts ownership field. 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=passwordChange the account's 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 is changed to not require any password in order to access it. Note that passwords are case sensitive.Set the user's past block days field to the specified, integer value. Changing this value clears the past block days remainder field.
-past_block_days=valueChange the site-specific account data stored in the account profile file. 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-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, 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.The default is to not change the pre-expired status of the account.
-quota=valueChange the 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. This can be done by specifying either-quota=0or-noquota. By default, this quantity is specified in units of kbytes; however, theset storage_unitscommand can be used to change the units used. The maximum value is 4 gigabytes minus 1. If the value specified exceeds the maximum, the value is set to zero (unlimited quota).Set the cumulative count of received message bytes to the specified, integer value. By default, this quantity is specified in units of kbytes; however, the
-received_bytes=valueset storage_unitscommand can be used to change the units used. The maximum value is 4 gigabytes minus 1. If the value specified exceeds the maximum, the value is set to zero.Set the cumulative count of received messages to the specified, integer value.
-received_messages=valueSet the user's total connect field to the specified, integer value.
-total_connect=valueSet the user's count of total connections to the specified, integer value.
-total_connections=value
In the following example, the quota and password fields are changed for the user
jdoe:
popstore> modify jdoe -password=TodaY -quota=20000
| Previous | Next | Contents | Index |