TotalNET Advanced Server 5.2 Reference Manual

tnsystem

This command allows you to specify TAS system configuration options. You can read the attribute values and add and modify system configuration options. During its installation, TAS installs and configures a basic system by setting default values for most system configuration options. The TAS administrator's user name defaults to totalnet. The host system name defaults to the host on which you installed TAS; you cannot change this attribute. This command supports only the "read" (-R) and "modify" (-M) general configuration options. It defaults to "read".

Location

TNHOME/usr/sbin

Usage

tnsystem
tnsystem -R [{-a attribute}]
tnsystem -M {-a attribute=value}

Options

Attributes

admin-user

This attribute specifies the TAS administrator's user name. It defaults to totalnet. TAS gives ownership of certain processes and data files to the administrator, who must own the TAS home directory TNHOME.

Usage:

tnsystem -M -a admin-user=username

dfinterval

This attribute specifies the interval, in seconds, between determinations of free disk space on the server. It defaults to 600 seconds. File services in all realms use the free space information.

Usage:

tnsystem -M -a dfinterval=interval

host-charset

This attribute specifies the host's character set. It defaults to builtin-iso-latin-1, the TAS built-in version of the ISO-8859-1 character set, a superset of the ASCII character set. File services in all realms use this information.

Usage:

tnsystem -R -a host-charset=charset

host-packaging

This attribute specifies the host's character-packaging style. It defaults to default, which indicates that the packaging style depends on the host's character set: euc if host-charset contains multi-byte characters, single if not. Besides default, you may specify single, euc, or shift-jis. File services in all realms use this information.

Usage:

tnsystem -R
 	-a host-packaging={default|single|euc|shift-jis}

spooler

This attribute specifies the full path name of the UNIX print spooler, such as lp or lpr. File and print services in all realms use this information.

Usage:

tnsystem -M -a spooler=spoolername

start-at-boot

This attribute specifies whether the TAS system starts at each system reboot. Only the TAS boot-time start-up script queries this attribute.

Usage:

tnsystem -R -a start-at-boot={on|off}

system-name

This attribute specifies the name of the system, as returned by the UNIX host name or uname -n commands. The installation program sets system-name to the nodename[] string returned by the uname(2) system call. You cannot modify this attribute.

Examples

  1. Use the following command to list all system configuration attributes of the TAS system:


    tnsystem -R

    Sample Output:


    system-name=sonpc
    admin-user=totalnet
    spooler=maxar
    dfinterval=60
    state=enabled
  2. Use the following command to list the value of the attribute admin-user:


    tnsystem -R -a admin-user

    Sample Output:


    admin-user=totalnet
  3. Use the following command to set the value of the attribute dfinterval to 30:


     tnsystem -M -a dfinterval=30