Contents 
 
What's new ? 
 
Overview 
Installation 
GUI preferences 
 
Global configuration 
IP Access configuration 
User configuration 
Group configuration 
Access configuration 
 
Dotfiles 
Attributes 
Using campus 
Features 
File Security 
 
Unimplemented features 
Things to do 
Licence 
History 
 
Contact 
Internet Suite 
 
FAQ 
campus - FTP-server for BeOS®

campus: Dotfiles

Note: The format for dotfiles has changed in this release, please update your .login and .message files!

There are two kinds of "dotfiles":

  1. .login
    .login files are read from the users home directory at login time.

  2. .message
    .message files are read from the current directory whenever the directory changes.
For a dotfile to be displayed just put it in the corresponding directory, e.g. /boot/home/ftp would be a good place for the .login file for user ftp and /boot/home/ftp/incoming a good place for a .message file describing what kind of uploads are accepted.

Before the files are displayed campus makes some substitutions if certain keywords are present. The list of recognised keyrowrds is a little bit short at the moment but will be extended in further releases.

Text that will replaced consist of a keyword started by the letter '$', i.e. $Ratio. To display the character '$', use the sequence '$$'. Keywords that cannot be replaced, for example if AdminEMail is not set in the configuration, will be left alone in the file.

Keyword Substituted by
Ratio the download/upload ratio for the current user. 
UploadEMail The e-mail address as defined in the settings. See the sample file for an example on the use of the keyword. 
AdminEMail
UserCount the current number of users logged in using the same name. 
UserLimit the total number of users allowed to log in using the same name. 
HostName the hostname of the system. 
Campus "campus" followed by the version number. 

For an example please refer to the sample.login and sample.message files in the campus Release 3.0a/ftp and campus Release 3.0a/ftp/incoming directories.


Copyright © 1997-2002 Stegemann & Co., Inc., All Rights reserved.
Created: March 4, 1998. Last modified: March 31, 2002.