Creating User Directories with vadduser

  1. From a Telnet prompt, type vadduser. This action displays a series of fields to fill in after beginning with the following command example:

    % vadduser

    Please supply answers to the series of questions below. When a `default answer' is available, it will follow the question in square brackets. For example, the question:

    What is your favorite color? [blue]:

    has the default answer `blue'. Accept the default (without any extra typing!) by pressing the Enter key -- or type your answer and then press .

    Use the key to erase and aid correction of any mistyped answers -- before you press . Generally, once you press you move onto the next question.

    Once you've proceeded through all the questions, you will be given the option of modifying your choices before any files are updated.

  2. Press to continue:

  3. Type the username.
  4. Type the E-mail/FTP Password.
  5. Retype new password.
  6. Type the User's Full Name followed by a return. Use 8 characters or fewer, no "." characters, and no ':' characters.
  7. Select the account services that the new users will require. The default selections are FTP and e-mail. Type the service name (FTP or e-mail) to toggle the selected/deselected services for the account.
    • FTP (File Transfer Protocol) for uploading/downloading files
    • E-mail services including POP, IMAP, and SMTP


    Note: If the user account will be accessed via IMAP, then FTP service must be enabled.

  8. Enter a positive or negative response to the question "Do you want to add service options like quotas to this account?"
  9. Enter FTP quota for this account in MB (enter "0" for no quota).
  10. Enter a numerical response for the question "Where would you like to put the user's home directory?" You are given four options for where to put the user's home directory, or you can put it in any location you choose. The table below lists and describes each location briefly.

    Description

    Example

    Email account home directory

    /usr/home/username

    Web hosted account directory

    /usr/local/etc/httpd/htdocs/username

    Virtual hosted account directory

    /usr/local/etc/httpd/htdocs/vhosts/username

    Anonymous FTP home directory

    /ftp/pub/username

    Your choice

    /usr/local/etc/httpd/htdocs/vhosts/some_directory/ username

    • Enter "1" for an E-mail account home directory.
    • Enter "2" for a web-hosted account home directory.
    • Enter "3" for a virtual hosted account. We recommend using this option for two reasons. First, FrontPage 2000 requires it. Second, The vhosts directory is an orderly location under which each of your subhosted users' directories can reside. Each one is separate, distinct, and secure from the others.
    • Enter "4" for an anonymous FTP home directory.
    • Or enter in any custom path.


    Note: Running the vadduser script is straightforward with one exception: the account services (FTP and e-mail). These services are added to each user's account by default. If you want the user to have both FTP and e-mail privileges, press when asked to accept the defaults. For the user to have FTP privileges only, deselect the mail privileges by entering "mail." For the user to have e-mail privileges only; deselect the ftp privileges by entering "ftp." If you need to add a service not currently in the list enclosed by the square brackets ([]), then type the service (e-mail or FTP) and press the Enter key.

    For example, if Mary Smith has the account name "mary" and the domain name associated with your Developer Server is "yourcompany.com," then Mary's e-mail address would be "mary@yourcompany.com".


    Note: The FTP quota governs the space that may be consumed by the entire directory tree of a user's home directory. The FTP quota is only effective when using FTP to upload files. The mail quota governs the space that may be consumed by a user's mail file under ~/usr/mail. Each quota is expressed as a decimal integer number of megabytes (MB) of disk space.

Back