|
|
campus - FTP-server for
BeOS®
Multiuser configuration options
The multiuser capabilities of campus are based on users and groups and
so-called path-lines which allow or deny acces to certain directories.
All users must be defined before any group and all groups before any path
line. Otherwise you may get unexpected results.
User lines
User lines have to begin with User, the other options can
be in arbitrary order.
Note: In the unregistered version only 3 user lines are
allowed.
Format: User Username [Password Password | Public]
[Alias alias1,alias2,...] Homedir Homedirectory
[Rootdir Rootdirectory] [Changeroot] [ShowLinks] [Limit Usercount]
[UMask Value] [StartAccount Value]
Keyword |
Type |
Arguments |
Description |
User |
Required |
Username |
Defines a new user with name Username. Usernames have to be
unique and may not contain white space. |
Password |
Multiple Choice |
The users password |
The user must either have a password or be declared
to be a public user, who does not need a password. A public
users home directory is also his root directory. |
Public |
None |
Limit |
Optional |
Userlimit |
Sets the maximum number of concurrent logins for this user. |
Alias |
Optional |
List of aliases, separated with comma |
Defines aliases for the user. Aliases have to be unique. |
Homedir |
Required |
Path |
Defines the absolute path to the the users home directory. |
RestrictRemoteIP |
Optional |
On/Off |
When enabled, i.e. "On" campus will only allow connections to
and from the IP address of the control connections. This option is
enabled by default, you should have good reasons to disable it, because
then your machine could be misused to start denial-of-service attacks
against other machines.
|
Rootdir |
Optional |
Path |
Defines the absolute path to the the users root directory.
From the clients point of view this defines his '/'. campus
will not allow operations above this directory. The only
way to get to a higher level directory is the use of a
symbolic link. See also:
campus: Security |
Changeroot |
Optional |
None |
Makes the users homedir his root directory. |
Showlinks |
Optional |
None |
If Showlinks is given, the user will see to which file a symbolic
link points. This is a possible security hole when the user
has a root directory different from '/' ! |
Ratio |
Optional |
Download-/Uploadratio |
Sets ratio between downloads and uploads. For every byte uploaded the user
is allowed to download Ratio bytes. |
UMask |
Optional |
Octal value |
Sets the mask value that is used for the file permissions of uploaded files.
Default value is 0027 (octal). |
StartAccount |
Optional |
Number |
The number of bytes that a user may download before an upload is required. |
Copyright © 1997-2002 Stegemann & Co., Inc., All Rights reserved.
Created: May 7, 2000. Last modified: January 12, 2002.
|