The MODIFY command may be used to change fields associated with an
account. For instance, to reset accounting information, change a
password, or to increase or decrease an account quota. In the following
example, the password for the account jdoe is changed to
MYDUCKY:
popstore> MODIFY JDOE/PASSWORD="MYDUCKY"
The MODIFY command does not accept wild cards and the username parameter must be specified.
Note that the last connect and disconnect time accounting fields may only be reset to signify a "never connected" state. They may not be changed to an arbitrary time. Also note that when the message count is set to zero, any messages stored for the account are deleted. If the count is reduced but not set to zero then starting with the oldest message, messages are deleted until the desired count is reached. For instance, if the current message count is 5 messages and the count is set to 2 messages, then messages 1, 2, and 3 will be deleted.
7.5 Removing accounts
Accounts are removed with the DELETE command. By default, any messages
stored for the account are deleted silently. Use the /RETURN qualifier
to return as undelivered any unread messages.
In the example below, the DELETE command is used to delete the
jdoe account.
popstore> SHOW/BRIEF JDOE
Quota Message Quota used
Username (kbytes) Count (kbytes)
----------------------------------------------------------------
jdoe 1000.00 2 6.42
----------------------------------------------------------------
*Note: privileged users are flagged with an asterisk
popstore> DELETE/RETURN JDOE
popstore> SHOW/BRIEF JDOE
%POPMGR-E-CANTSHOW, cannot show data
popstore error #68: No such user
To delete more than one account, issue multiple DELETE commands, or use
wild cards in the "username" parameter, or use the /GROUP.
For instance, to delete all accounts in the class97 group,
issue the command
popstore> DELETE/GROUP=class97