HOME | SITEMAP | SUPPORT | FAQs
DOMAIN MANAGE/BACKROOM | BILLING
4Domains Web Hosting and Domain Registration
Account Login   WebMail   Live Chat

Web Hosting

Domain Names

Domain Auction

Solutions

Home > Support > Serverhelp > Servadmin > Vadduser

Creating and Managing 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

NOTE: The Solaris Virtual Server password file (~/etc/passwd) format mirrors the native O/S format. Additional services (such as FTP and e-mail) and per-service quota controls are now found in the privileges file (~/etc/vpriv.conf). Each account in the password file has a corresponding entry in the privileges file listing enabled services and per-service quotas.

To find out which O/S your Virtual Server is running, use the uname command:

% uname

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. Select the account services that the new user will require. The default selections are ftp and email. Type the service name (ftp or mail) to toggle the selected/deselected services for the account.

    • FTP (File Transfer Protocol) for uploading/downloading files
    • E-Mail service via POP, IMAP, and SMTP

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

  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.


Why Us? | About | Contact Us
Knowledge Base | Support Request
Expired Domains | Domain Name Auctions | VPS Directory | DNS Tools
Hosting Terms | Domain Terms | Privacy Policy
Copyright © 2008 - 4Domains.com, Inc.


web hostinghostingdomaindomain namedomain namescheap web hostingecommerce website designdomain registration

Web Monitoring | SEO Technology | Hacker Scanner | DNS Tools | Online Backup