PMDF popstore & MessageStore Manager's Guide


Previous Contents Index

6.2 Adding new accounts

New accounts can be added in one of two ways: by creating a new account or (for popstore only) copying an existing account. The former is done with the add command while the latter with the copy command. Regardless of the method chosen, when a new account is added a name and password to associate with the account should be chosen. This is the name and password which the owner of the account must use in order to access messages stored for the account. Specify -flags=pwd_elsewhere to create the account with an externally stored password (e.g., an /etc/passwd password). Optionally, account quotas and an ownership field identifying the owner of the account can also be specified. Quotas not specified will be copied from the default account.

See Section 1.3.1 for a discussion of the name space allowed for account usernames.

For instance, suppose that Jane Doe is to be given the account jdoe with the password SecRet . The command to add the account would then be


popstore> add jdoe -password=SecRet -owner="Jane Doe"
popstore> show jdoe
Username:           jdoe 
Owner:              Jane Doe 
Group: 
Store Type:     popstore 
Usage flags: 
Site-defined: 
 
Last pwd change:    Fri Nov 15 12:02:22 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 Nov 15 12:02:22 2012 
 
Message count:              1 (1 total messages received) 
Quota used:              0.71 Kbytes 
Quota:                2048.00 Kbytes 
Overdraft:              20.00 Kbytes 
Note that POP passwords are case sensitive.

It is important to note that when the popstore was configured, default account settings were specified. These settings are kept in the form of a default account named default . Whenever an account is added with the add command, the popstore actually copies the default account to the new account thereby using the default account's settings as the basis for the new account.

Copying an existing popstore account with the copy command also creates a new account. In the example below, the new account doe is created by copying the account ariel :


popstore> show ariel
 
Username:        ariel 
Owner:           Tempest Ariel 
Group: 
Store Type:     popstore 
Usage flags: 
Site-defined: 
 
Last pwd change:    Fri Oct 18 09:12:23 2012 
Last connect:       Fri Nov 15 16:09:38 2012 
Last disconnect:    Fri Nov 15 16:09:39 2012 
Total connect time: 0 00:10:03 
Total connections:  145 
Past block days:    123953 
Last billing:       Fri Oct 18 09:12:23 2012 
 
Message count:              0 (189 total messages received) 
Quota used:              0.00 Kbytes 
Quota:              102400.00 Kbytes 
Overdraft:              10.00 Kbytes 
 
popstore> copy ariel doe -password=secret -owner="John Doe"
popstore> show doe
 
Username:           doe 
Owner:              John Doe 
Group: 
Store Type:     popstore 
Usage flags: 
Site-defined: 
 
Last pwd change:    Fri Nov 15 13:23:18 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 Nov 15 13:23:18 2012 
 
Message count:              0 (0 total messages received) 
Quota used:              0.00 Kbytes 
Quota:              102400.00 Kbytes 
Overdraft:              10.00 Kbytes 
Note that when an account is copied to make a new account, the new account does not inherit the messages or accounting information of the original account.

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 the default account. Use the show -count_users command to display the number of currently defined accounts as well as the limit allowed by your license.

6.3 Listing accounts

Verbose and brief listings of accounts can be generated with the show command. When no username parameter is supplied, all accounts are listed:


popstore> show -brief
                                       Quota  Message  Quota used 
 Username                           (kbytes)    Count    (kbytes) 
 ---------------------------------------------------------------- 
 crw                                33333.00        0        0.00 
 david                             102400.00        0        0.00 
*dan                                33333.00        0        0.00 
 default                             1024.00        0        0.00 
 kevin                              40960.00        0        0.00 
 kristin                            10240.00        0        0.00 
 pekie                              40960.00        0        0.00 
 ---------------------------------------------------------------- 
*Note: privileged users are flagged with an asterisk 
In the above output, an asterisk is displayed by each account which has the management privilege. The -brief switch, causes a brief listing to be generated. Omitting that switch generates a much more detailed listing.

When a username parameter is specified, wild cards can be used:


popstore> show -brief d*
                                       Quota  Message  Quota used 
 Username                           (kbytes)    Count    (kbytes) 
 ---------------------------------------------------------------- 
 david                             102400.00        0        0.00 
*dan                                33333.00        0        0.00 
 default                             1024.00        0        0.00 
 ---------------------------------------------------------------- 
*Note: privileged users are flagged with an asterisk 

As discussed in Section 6.15.2, the -format switch of the show command can be used to generate custom listings. Section 6.11 describes how to use the -forwardings switch to display mail forwardings.


Previous Next Contents Index