TotalNET Advanced Server 5.2 Reference Manual

Examples

  1. Use one of the following commands to list all available services for the entire system:


    tnservice
    tnservice -L

    Sample Output:

    NB 

     

    myhost:file 

     

    myhost:tty:term 

    NW 

     

    nwmyhost:file 

     

    nwmyhost:term 

     

    nwmyhost:nvt 

  2. Use the following command to list the values of all attributes for all services in all realms:


    tnservice -R

    Sample Output:

    NB 

     

     

    myhost:file 

     

     

     

    command=/opt/TAS/tn/NB/LMfile 

     

     

    description=test server 

     

     

    plex=unique 

     

     

    persistent=off 

     

     

    template-only=off 

     

     

    state=enabled 

     

    myhost:tty:term 

     

     

     

    template-only=on 

     

     

    transport=tcpip,tnnbu 

     

     

    command=/opt/TAS/tn/NB/NBtty 

     

     

    state=disabled 

    NW 

     

     

    nwmyhost:file 

     

     

     

    template-only=off 

     

     

    command=/opt/TAS/tn/NW/NWfile 

     

     

    persistent=on 

     

     

    activity=off 

     

     

    clienttime=off 

     

     

    dfreport=all 

     

     

    null-group=4095 

     

     

    null-passwd-login=off 

     

     

    state=enabled 

     

    nwmyhost:term 

     

     

     

    template-only=on 

     

     

    command=/opt/TAS/tn/NW/NWtty 

     

     

    state=disabled 

     

    nwmyhost:nvt 

     

     

     

    template-only=on 

     

     

    command=/opt/TAS/tn/NW/NWnvtd 

     

     

    persistent=on 

     

     

    state=disabled 

  3. Use the following command to list the value of the command attribute for the file service myhost in the LM-NT-OS/2 realm:


    tnservice -R -r NB -s myhost:file -a command

    Sample Output:


    command=/opt/TAS/tn/NB/LMfile
  4. Use the following command to modify the activity attribute for the file service nwmyhost in the NetWare realm:


    tnservice -M -r NW -s nwmyhost:file -a activity=on
  5. Use the command below to delete the terminal service nwmyhost from the NetWare realm. If you delete every service in a realm, you do not delete the realm itself.


    tnservice -D -r NW -s myhost:term