Creating E-mail and FTP User Accounts

The following commands deal directly with users and their profiles. Each command is explained in detail later:

  • vadduser: Adds and modifies users
  • vlistuser: Lists all users on your Virtual Server
  • vrmuser: Removes a specified user
  • vpasswd: Changes password for a user

Adding Users
Use "vadduser" to add users and modify existing users' profiles.

  1. From a Telnet prompt, enter "vadduser". This action displays a series of fields to fill in after beginning with the following command example:
    % vadduser
  2. Enter the username
  3. Enter E-mail/FTP Password.
  4. Retype new password:
  5. Enter User's Full Name followed by a return. Use less than 80 characters and no ':' characters.
  6. Enter the Account Services that the user's accounts uses, including:
    • FTP (File Transfer Protocol) for uploading/downloading files
    • E-mail services including POP, IMAP, and SMTP
    • Enter the service name (FTP or Mail) to toggle the services for the account.
  7. Enter a positive or negative response to the question "Do you want to add service options like quotas to this account?"
  8. Enter FTP quota for this account in MB (0 for no quota).
  9. Enter a numerical response for the question "Where would you like to put the user's home directory?"
    1. Enter "1" for an E-mail account home directory: /usr/home/[username]
    2. Enter "2" for a web-hosted account home directory: /usr/local/etc/httpd/htdocs/[username]
    3. Enter "3" for a virtual hosted account (Required by FrontPage 2000): /usr/local/etc/httpd/vhosts/[username]
    4. Enter "4" for an anonymous FTP home directory: /ftp/pub/[username]
    5. Or enter in any custom path.
    NOTE: Running the vadduser script is straightforward with one exception: the account services (FTP and Mail). These services are added to each users account by default. If you want the user to have both FTP and E-mail privileges, just hit enter 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 prvileges by entering "ftp". If you need to add a service not currently in the list enclosed by the square brackets ([]), then type the service (mail or ftp) and hit the enter key.

Modifying Existing Users

  1. Run vadduser again.
  2. Specify the username.
  3. Vadduser detects the user by name, then asks you if you want to modify the user account. Proceed through the Vadduser fields by answering the questions.

Other Commands

vlistuser Lists the users you have added to the Virtual Server. It lists the name, userid, home directory and E- mail/FTP quotas.
vrmuser Removes a user from your Virtual Server. To run vrmuser, enter the command at a Telnet prompt.
vpasswd Changes a users password. To run vpasswd type vpasswd username at a Telnet prompt.