| Previous | Next | Contents | Index |
The modify command can 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 can only be reset to signify a "never connected" state. They can 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.
6.5 Removing accounts
Accounts are removed with the delete command. By default,
any messages stored for the account are deleted silently. Use the
-return switch 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 switch. For instance, to delete all
accounts in the class97 group, issue the command
popstore> delete -group=class97 |
| Previous | Next | Contents | Index |