beautypg.com

Axcess Network Receiver Installation Guide User Manual

Page 49

background image

Network Receiver

© 2002, AXCESS Inc.

750.001.005 R0000

49

Note: These variables will not take effect until the server is restarted.

A user can create a home directory (i.e. a directory with the same name as the user's

username) in the root directory. When the user logs in, they will be placed in this directory.

Otherwise, the user is placed in the root directory at login.

The user can also place a .login file in their home directory. Every line in this file will be

executed as they would from a slush command prompt. You can comment out lines by

inserting a '#' at the beginning of a line.

IV. FTP Server

The FTP server listens on port 21 (the well-known port for FTP) for

connection requests, and spawns off sessions to handle each request.

Configurable options with environment variables:

setenv FTP_ALLOW_ROOT [true/false]

- Allow or disallow root to login to FTP.

Default is true.

setenv FTP_TIMEOUT [Number of ms]

- Inactivity timeout. 0 is infinite. Default

inifinity.

setenv FTP_ALLOW_ANON [true/false]

- Allow or disallow anonymous login.

Default is true.

setenv FTP_LOG_ANON [file]

- Log file for anonymous logins. The

directory (and the

file if it exists) must have "other" write

permission.

setenv FTP_WELCOME [file]

- File to display on successful login.

setenv FTP_CONNECT [file]

- File to display on connection.

Note: These variables will not take effect until the server is restarted.

V. Commands

Slush has several commands built into the default distribution. You can add new commands

or remove current commands by editing the Slush.java file and recompiling. Dynamic add

and remove of commands is not currently supported, but will hopefully be in the future with

the addition of more reflection

support by the system.

Type 'help' at a slush prompt for a list of available commands, and 'help ' for

command-specific help.

At the end of this section is a list of optional commands. The commands are not part of the

standard slush distribution, but the source is included so that you can add them to your slush

and rebuilt. See the optional commands section for more information.

Slush allows you to redirect input and output to commands, as well as running java programs

in the background. Use the '<' specifier to redirect input from a file, the '>' specifier to redirect

output to a file, the '>&' specifier to redirect stdout and stderr to a file, and '&' to run a java

program in the background. Running slush commands in the background other than the java

command is not currently supported.