campus - FTP-server for
BeOS®
The GUI preferences
The GUI preferences program for campus makes it very easy to configure
most of campus features using an easy to understand graphical interface.
The exceptions are advanced settings like groups and the IP configuration
and some other, more sophisticated ones. These will probably be included
in one of the next versions of the preferences program.
If you need these options you can safely configure them using a text editor,
the preferences program preserves manual changes although it will not allow
you to view or modify these advanced items.
Overview
The GUI preferences program consists of four Tabs:
- General
Contains settings that modify the behaviour of the whole program.
- Network
Contains network settings.
- Users
Here you can add and remove users, change the setings for each user, etc.
- Access
Access contains the path lines which control which user can access which
files on disk.
General settings
In this tab you can modify the general settings of campus. The tab consists of
two parts:
- Error handling
When campus loads the configuration it depends on these two switches what happens
when a (potential) error is found. With warnings enabled campus warns about problems
like missing password, etc. If pedantic mode is also enabled campus will not use
a configuration if it encounters any problem with it. This is recommended to avoid
possible security problems with a wrong configuration.
Note: You will only see warnings when you start campus from the Terminal application.
- Logging
Here you specify the logfile for campus, where all logoutput will be written to, the level of logging
and if hostnames will be resolved in the logfile. The different loglevels are:
- Loglevel 0: No logging
- Loglevel 1: Normal logging (Login, Downloads, ...)
- Loglevel 2: More logging (logs more requests)
- Loglevel 3: Extensive logging (some more uncommon things)
- Loglevel 4: Log everything (cd, list)
- Resolve hostnames
Enable this to resolve hostnames in the log file. Otherwise only IP addresses
are logged.
Network settings
In this tab you can modify the network settings of campus. The tab consists of
three parts:
- Host settings
- Hostname
Enter the hostname of your machine. This name is printed in the welcome message
of the server. This is not needed to determine the address of the local host
for passive mode ftp.
- Port
This is the port of your ftp-server. The default is port 21 and should not be changed
unless you have a good reason to do so.
- Mail addresses
- For uploads
Internal name UploadEMail
- Admin
Internal name AdminEMail
These addresses can be printed in Dotfiles. Simply put for example $AdminEMail$ into the
.login message for people to see where they can send emails to if they encounter a problem
with your server.
- Misc
- Idle time
Define the time after which an inactive user is logged out after the last
command has been completed.
Users settings
In this tab you can manage the users for campus. Select a user by clicking
on it, you can then change the settings for this user or remove it by using the
button below the list of users.
Add a user by clicking on the "Add user" button below the user list, you can then
modify the users settings in the three tabs to the right of the user list. These
tabs are explained below.
Users settings - General
This tab contains the general settings for an user in three sections:
- Name and home
Here you can set or change the name of the user and select a home
directory for the user. Every user needs to have a home directory
or campus will ignore the user.
By clicking the "Select..." button a file requester will pop up
and you can select a home directory. Or you can simply type the
path to the users home.
- Password settings
Here you can set the password settings for the user. For public accounts
you leave the "Password needed..." checkbox empty, you may then select
the kind of check that is used for the transmitted email address:
- "Password checked" not checked
The email address is not checked at all.
- "Format" is selected
The input is checked is the format is what is expected from
an email address.
- "Lookup" is selected
Does a lookup for the host that is specified in the email address.
Note: This mode is currently not implemented.
- Root directory
Click the checkbox to enable the text input to type in a root directory for
the user or select one using the file requester.
If you leave the checkbox unchecked the users home directory will be used
as the users root directory.
Users settings - Ratio
This tab only contains two options:
- The ratio between uploaded bytes and the number of bytes that a user may download.
- The number of bytes that a freshly logged in user may download before he has to
upload something.
Users settings - Misc
This tab contains misc options:
- Umask
The mask that is used to determine the file protection bits for uploaded
bytes.
- Userlimit
The number of users that may be logged in with this user name at the same time.
- Show links
Detemines if links are shown to the user or hidden from his view. If links
are hidden the file system on the ftp server seems to be located on one
disk and strictly hierarchical.
- Maintain attributes
Checked this to enable download count attributes to be updated when a file
is downloaded.
- Restrict to connecting host
Checked by default. This restricts data connections to the host from which
the control connection was initiated. Uncheck this only if you want to do
ftp transfers between servers. If you do not know what this is leave the
option checked.
Access settings
This tab contains the settings for the file system access rights of the users. As the order
of the entries is important you can move items in the list up and down using the two buttons
in the lower right corner of the upper part of the tab.
You can use the buttons in the lower left to add and remove path entries.
See Access configuration for details about path lines.
Access settings - Type & Path
Here you can choose the type of access line, either Allow or Deny and you
select the path in the file system where the line should match.
Access settings - Users
Here you configure which users are affected by the line. The user that affected by
the line are liste in the left list, all other users are listed on the right. Move
single or multiple users from one list to the other using the direction buttons in
the middle between the lists.
Access settings - Permissions
Here finally the permissions of the access line can be configured. Simply check
or uncheck the corresponding checkbox.
Copyright © 1997-2002 Stegemann & Co., Inc., All Rights reserved.
Created: March 4, 1998. Last modified: March 31, 2002.
|