|
If you plan to have multiple
users or multiple e-mail accounts, you will need to
create email and FTP user directories. These directories
will allow users to send and receive e-mail and upload
files to their home directories.
Creating User Directories
with iManager
If you are an iManager
user, you will want to do the following:
- Open iManager
- Select Tools &
Wizards
- Select Users and
then select Add
A new directory for each
Web site you subhost will display the following default
pathname, which is the virtual hosted account directory:
/usr/local/etc/httpd/vhosts/[username, permissions]
Creating User Directories
with vadduser
- 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 <Enter>.
Use the <Backspace>
key to erase and aid correction of any mistyped answers
-- before you press <Enter>. Generally, once you
press <Enter> 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.
Press <Enter> to
continue:
- Type the username.
- Type the E-mail/FTP
Password.
- Retype new password.
- Type the User's Full
Name followed by a return. Use 8 characters or fewer,
no "." characters, and no ':' characters.
- 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.
- Enter a positive
or negative response to the question "Do you
want to add service options like quotas to this account?"
- Enter ftp quota for
this account in MB (enter "0" for no quota).
- 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 <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
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 Virtual 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. - FrontPage does not
make use of FTP protocol, rather FrontPage utilizes
HTTP-PUT to upload web pages. As a result, the FTP quota
is ignored by Microsoft FrontPage Client software during
a publish.
If You Are Subhosting
If you are subhosting
(i.e. you have multiple users and/or multiple web sites),
you need to create an account first under the
vhost directory (Virtual subhosting link in Beyond Basics).
A suggested procedure is to:
Type vadduser
and proceed through the prompts to select the new user's
home directory.
or
- Open iManager
- Select Tools &
Wizards
- Select Users and
then Add
A new directory for each
Web site you subhost will display the following default
pathname, which is the virtual hosted account directory:
/usr/local/etc/httpd/vhosts/[username, permissions]
If you are subhosting
you will also need to:
|