AlpineWeb Home
Search: For:   ~ Advanced Search  
  Support Home     Documentation     Knowledgebase     Help Desk     Blog 
Hosting > Virtual Private Servers > Administration > Users > Monday, October 06, 2008

VPS2 User Permissions


Users on your VPS2 can have different permissions, which grants or denies them access to use Shell, FTP, E-mail, or Web space. These permissions can be set or changed when you Manage User Accounts.

E-mail Permissions

In order to use a remote E-mail client (such as Microsoft Outlook) to send and recieve E-mail, a user must have E-mail permissions. E-mail permissions allow a user to remotely send messages with SMTP, and to use POP or IMAP to download messages. When adding a user with the vadduser command, E-mail is enabled by default.
NOTE: Users who wish to use IMAP services to check and store E-mail need to have both E-mail and FTP permissions.
Select/deselect services [e-mail ftp shell web]:
To remove E-mail, type e-mail at the prompt shown above. You will then see the same list as above, except the e-mail entry will be removed.
Select/deselect services [ftp shell web]:
You can re-add E-mail to the list by typing e-mail at the prompt.

To modify E-mail permissions for a user who already exists, you can edit the /etc/group file. A user with E-mail permissions needs to be listed in the pop and imap group member list. Below is an example of the pop group entry with two users (admin and test).
pop:*:82:admin,test

FTP Permissions

To allow users to use FTP to copy files to and from the Virtual Private Server, they must have FTP access. You can allow or disallow FTP access when you set up the user with the vadduser command, or you can add or remove the user from the ftp group in the /etc/group file. (see E-mail permissions above).
NOTE: Users who wish to use IMAP to check and store E-mail messages must have FTP and E-mail permissions.

Shell Permissions

Granting VPS users shell access gives them the power to connect to their filespace on the server and work directly with files and run commands. When you give a user shell access using the vadduser tool, you will be prompted to select a shell for the user from a list. Because the shell access is defined at the end of the user's entry in the /etc/passwd/ file, you need to use the pw command to change the default shell or to disable or enable shell access. A user without shell access will have /sbin/nologin as their shell.
NOTE: Any user with shell permissions will be able to send and recieve e-mail messages using a local E-mail client program (such as pine). In order to use a remote client program (such as Microsoft Outlook), the user must also have e-mail permissions.

Web Permissions

Web access permissions grants a user space to publish web content. It does not have any effect on whether or not a user can view any web material. A user with Web access permissions turned on will have a www directory in in their home directory with locations for CGI scripts, logfiles, and web pages. By default, a web user will be able to view their own pages by going to the VPS primary domain name followed by a tilde (~) and their username, as in the example below.
http://YOUR.DOMAIN.NAME/~username
There are a number of different ways you can set up Web space for a user, as well as being able to associate domain names with the Web space. For more information see Sub Hosting Web Sites.

Technical Support
° Getting Started Guides
  FreeBSD
° Basic Hosting Help
° Signature Hosting Help
° VPS v1 Help
° VPS v2/3 Help
° MPS v2/3 Help
  Linux
° VPS v3 Help
° MPS v3 Help
  SaaS
° Sugar CRM
  DNS
° Domain Name Service
° Domain Registration
° Help Desk
° Knowledgebase
° Support Policies
° Disclaimer

° AlpineWeb Home
° Compare Hosting Plans
° Network Topology

° Rates & Fees
° Order Center




  Home | Site Map | Customer Backroom Copyright  ©  1997-2008  AlpineWeb Design