home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-06-10 | 161.7 KB | 3,515 lines |
- /**************************************************************************/
- /* */
- /* Operating System/2(tm) LAN Server */
- /* Version 4.0 */
- /* (c) Copyright International Business Machines Corporation, 1988, 1994 */
- /* (c) Copyright Microsoft Corporation, 1988, 1991 */
- /* */
- /**************************************************************************/
- %A CACHE386: CACHE
- %A CONTINUE: CONT
- %A DEVICE: DEV
- %A ERROR: ERRORS
- %A FILE: FILES
- %A FORWARD: FOR
- %A GROUP: GROUPS
- %A LOGOFF: LOGOUT
- %A LOGON: LOGIN
- %A REMOTEBOOT: RIPL, RPL, REMOTEBOOT
- %A REPLICATOR: REPL, REPLICATOR
- %A SEPARATOR: SEP
- %A SESSION: SESSIONS, SESS
- %A STATISTICS: STATS
- %A USER: USERS
- %A REQUESTER: REQ, REDIRECTOR, REDIR, RDR, WORK, WKSTA, PRDR, DEVRDR
- %A MESSENGER: MSG, RECEIVER, RCV
- %A SERVER: SVR, SRV
- %A NETRUN: RUNSRV, RUNSERVER, RUNSERVR
- %A APP: APPS
-
- !C AT
- !C BACKACC
- !C CACHE386
- !C CHGSRVR
- !C CHKSTOR
- !C DSPDOMDF
- !C FIXACC
- !C FTADMIN
- !C FTMONIT
- !C FTREMOTE
- !C FTSETUP
- !C GETRPL
- !C HDCON
- !C LSAUDIT
- !C LSERROR
- !C MAKEDISK
- !C MAKEIMG
- !C MKRDPM
- !C MMUTIL
- !C NAMES
- !C NET
- !C NETMSG
- !C PREPACL
- !C PRIV
- !C PROFILER
- !C RESTACC
- !C RPLDSABL
- !C RPLENABL
- !C SYNTAX
- !C THIN386
-
- .1 AT
- :1 [id] [/DELETE]
- time [/EVERY:date[,...] | /NEXT:date[,...]] command
- #1 AT schedules a program or command to be run at a later date or time on
- a server. When used without options, it displays a list of programs and
- commands scheduled to be run. The programs and commands are stored in the
- server's IBMLAN\LOGS\SCHED.LOG file, so scheduled tasks are not lost if
- you restart the server.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $1
- command Is the OS/2 or LAN Server command or batch
- program (.CMD file) to be run. When the command
- requires a pathname, use the absolute pathname.
-
- id Is an identification number assigned to a scheduled
- command. To see the identification number of a command,
- type AT without options.
-
- time Is the time when command is to run. It is expressed
- as hours:minutes in 24-hour notation (00:00 [midnight]
- through 23:59).
-
- /DELETE Cancels a scheduled command. If you omit the
- identification number, all scheduled commands on the
- server are canceled.
-
- /EVERY:date[,...] Runs the command each time the specified day(s) of the
- week or month occurs. Date is one or more days of the week
- (M,T,W,Th,F,S,Su) or days of the month (1-31). If date
- is omitted, today's date is assumed.
-
- /NEXT:date[,...] Runs the specified command only on the next occurrence of
- the day(s).
-
- .1 BACKACC
- :1 [[drive:]pathname [/F:[drive:]target] [/L1:[drive:][path][filename]]
- [/A] [/S] [/V]]
- #1 BACKACC backs up permissions on the 386 HPFS volumes, the user accounts
- database (NET.ACC), and the audit log (NET.AUD) while LAN Server is
- running. When used without options, BACKACC backs up the user
- accounts database and the audit log.
-
- See also RESTACC.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $1
- drive: Is the drive letter for the shared directory.
-
- pathname Is the directory or file whose permissions are to be backed
- up. If you don't specify a pathname, only NET.ACC and
- NET.AUD are backed up.
-
- /A Appends access permissions to the current .ACL file.
-
- /F:target Is a target file to store the permissions. The default
- directory is the current working directory. If /F:target is
- not specified, the target is ACLBAKd.ACL, where d is the drive
- letter of the volume being backed up.
-
- path Is the directory where the target file is to be located.
-
- /L1:filename
- Is the target file where the errors will be logged. If
- /L1:filename is not specified, then the errors will be
- written to the screen. (The L1: parameter is only valid
- in a remote install environment.)
-
- /S Is valid only if pathname is a directory. It backs up
- permissions for all subdirectories and files of pathname.
-
- /V Causes the names of the access control files to display
- as they are being backed up by BACKACC.
- .1 CACHE386
- :1 [/BUFFERIDLE:[drive:]time]
- [/LAZY:[drive:]{ON | OFF}]
- [/MAXAGE:[drive:]time]
- [/OPTIONS[drive:]]
- [/STATS: [CLEAR | DYNAMIC]]
- #1 CACHE386 establishes file system caching for a 386 HPFS volume.
- When used without options, it displays caching statistics.
- CACHE386 is placed in the operating system configuration file at
- installation.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $1
- /BUFFERIDLE:[drive:]time Sets the minimum number of milliseconds the
- buffer must be idle before its contents can be
- written to the disk. The range is 0-500000; the
- default is 500 milliseconds. A value between
- 100 and 1000 is suggested.
-
- /LAZY:[drive:]{ON | OFF} Enables or disables lazy writes. If no
- drive is specified, the action applies to
- all 386 HPFS drives. If you specify /LAZY
- with no values, lazy writes are enabled for
- all 386 HPFS partitions.
-
- /MAXAGE:[drive:]time Sets the maximum number of milliseconds a dirty
- cache block can be in memory before its contents
- are written to memory. The range is 0-1000000;
- the default is 5000 milliseconds. A value
- between 1000 and 20000 is suggested.
-
- /OPTIONS[drive:] Displays cache configuration options.
-
- /STATS:[CLEAR | DYNAMIC] Displays cache statistics. Specifying /STATS
- with no value displays the current statistics.
- CLEAR clears the current statistics, resetting
- all values to 0. DYNAMIC causes the statistics
- display to remain on the screen and be updated
- approximately once per second. (If output has
- been redirected, DYNAMIC is ignored.)
-
-
- .1 CHGSRVR
- :1 currentsrvname newsrvname
- #1
-
- currentsrvname Specifies the name of the current server.
-
- newsrvname Specifies the name to be changed to.
-
- CHGSRVR changes the name of a server and creates a new server definition
- in the accounts database (NET.ACC). Domain control database files are
- updated with the new name. CHGSRVR does not change the names in the
- IBMLAN.INI file, nor does it delete the old server name from the accounts
- database.
- $1
- There are no options for this utility.
-
- .1 CHKSTOR
- :1 [\\computername | /DOMAIN[:name]] [name [...]] [/ALERTS:{YES | NO}] [/ALL]
- #1 CHKSTOR checks the storage remaining in home directories on a server.
- When used without options, it displays a report of used disk space for
- the local server. Only those users who are over their storage limit are
- included in the report, unless the /ALL parameter is used.
-
- For each home directory on the server that is over the storage limit,
- CHKSTOR reports the user ID, disk space allowed, disk space used,
- and home directory's path.
-
- The NET USER command must have /MAXSTORAGE set to a number to use the
- CHKSTOR utility.
-
- This command only works on servers.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $1
- \\computername Is the server on which storage is to be checked.
-
- name [...] Is a user ID(s) or group ID(s). Specifying a name
- limits storage checking to the user or members
- of the group. Separate names with spaces. If you
- supply both a user ID and a group ID for a group
- to which that user belongs, CHKSTOR reports
- the use of that user's home directory only once.
-
- /ALERTS:{YES | NO} If set to YES (the default), generates an alert for
- each user account that exceeds the storage limit.
- These alerts are sent to administrators listed in
- ALERTNAMES in the [server] section of the IBMLAN.INI
- file and to the user whose account has exceeded
- the storage limit. If /ALERTS is set to NO, alerts
- are not sent.
-
- /DOMAIN[:name] Runs CHKSTOR on the servers in the domain specified
- by the domain entry in IBMLAN.INI. To run the command
- on another domain, supply the name of that domain.
-
- /ALL Displays the home directory storage used by each user
- on a server or domain.
-
- .1 DSPDOMDF
- :1
- #1 DSPDOMDF displays the domain definition. It displays details of all
- the users, groups, aliases, and applications defined within the logon
- domain. Domain servers can be seen in the Groups section, under the
- group SERVERS. DSPDOMDF should be run at a primary or backup server
- since it uses account information from the local accounts database
- (NET.ACC).
-
- $1
- There are no options for this utility.
-
- .1 FIXACC
- :1
- #1 FIXACC restores a damaged user accounts database (NET.ACC). The old
- NET.ACC is renamed to NETACC.BAD. This command requires that the Requester
- service and UPM are stopped.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $1
- There are no options for this utility.
-
- .1 FTADMIN
- :1 [\\computername] [/MONO]
- #1 FTADMIN starts the FTADMIN fault-tolerance utility. It is an OS/2
- application that runs in a Presentation Manager window. When used
- without options, FTADMIN starts the fault-tolerance utility on the local
- computer.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $1
- \\computername Specifies the computer where the fault-tolerance utility
- is to be used.
-
- /MONO May provide a clearer display on a monochrome screen.
- Type the command with and without /MONO and decide which
- display is best.
-
- .1 FTMONIT
- :1 [/ALERT:{YES | NO}]
- [/COMPARE:{YES | NO}]
- [/QUIET:{YES | NO}]
- [/CLEAR:{YES | NO}]
- #1 FTMONIT starts the fault-tolerance utility's error-monitoring feature
- or clears statistics about error monitoring. When used without options,
- it displays statistics.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $1
- /ALERT:{YES | NO} Specifies whether to send disk error alerts to users
- listed in ALERTNAMES in the [server] section of the
- IBMLAN.INI file. The default is YES.
-
- /CLEAR:{YES | NO} Set to YES, resets all statistics to zero. The default
- is NO.
-
- /COMPARE:{YES | NO} Specifies whether to do a low-confidence comparison
- of mirrored drives when the computer starts. The
- default is YES.
-
- /QUIET:{YES | NO} Specifies whether FTMONIT displays a status
- message whenever the server is restarted. YES
- suppresses the display. The default is NO.
-
-
- .1 FTREMOTE
- :1 [/R:responsefile] [/L1:statusfile] [/L2:historyfile]
- #1 The FTREMOTE utility is a response-file-driven version of FTADMIN and
- FTSETUP that activates Fault Tolerance, configures the drives to use
- Fault Tolerance in an unattended state, verifies mirrored drives, and
- corrects errors.
-
- Running FTREMOTE activates Fault Tolerance, unless the command
- DEACTIVATE is contained in the response file.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $1
- /R:responsefile Specifies the name of the input response file.
-
- /L1:statusfile Specifies the name of the status file. The
- default is FTSTATUS.LOG.
-
- /L2:historyfile Specifies the name of the history file. The
- default is FTHISTRY.LOG.
- .1 FTSETUP
- :1
- #1 FTSETUP installs the Disk Fault Tolerance system and prompts for information
- needed to configure drive mirroring and drive duplexing.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $1
- There are no options for this utility.
-
- .1 GETRPL
- :1
- #1 The GETRPL utility is run on remote IPL servers after installation or
- reinstallation of LAN Server. GETRPL migrates RPL.MAP workstation
- and server records from previous levels of LAN Server into the RPL.MAP
- on the current remote IPL server. DOS remote IPL users are moved from
- previous levels of LAN Server into a group called RPLGROUP and an access
- control profile for RPLGROUP is created, granting all privileges to the
- users in that group. GETRPL ensures that new OS/2 remote IPL and DOS
- remote IPL users added with LAN Server are added to the group. It
- installs all the OS/2 device drivers and display support routines.
-
- $1
- There are no options for this utility.
-
- .1 HDCON
- :1
- [d:]\>HDCON[-o] | [-n] [*] | [userx]
- #1 The HDCON utility allows you to migrate users' home directory aliases
- from LAN Server Version 1.3 into the format used by the current version.
- When this is accomplished, the old aliases are deleted. Another use of
- the utility is to create aliases for home directories created in the
- current LAN Server version for those users who are accustomed to using
- or need to use the old format.
-
- HDCON can convert all users in a domain at one time or convert a list
- of users provided at the OS/2 command prompt.
-
- Only an administrator can use HDCON to migrate users' home directories.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $1
- d: Specifies a drive.
-
- -o Specifies to convert to the old format.
-
- -n Specifies to convert to the new format.
-
- * Specifies to convert all users on the domain.
-
- userx Specifies a user ID to convert. You can list more
- than one user ID on the command line.
-
- .1 LSAUDIT
- :1 [\\servername]
-
- #1 LSAUDIT starts the LAN Server Audit Log Utility. The utility displays a
- LAN Server audit log, either locally at the workstation or remotely at
- a server. Additionally, the log can be printed and cleared.
-
- $1
- \\servername Specifies the name of a remote server whose log
- is to be displayed. When \\servername is not
- specified, displays the audit log at the local
- workstation.
-
- .1 LSERROR
- :1 [\\servername]
-
- #1 LSERROR starts the LAN Server Error Log Utility. The utility displays a
- LAN Server error log, either locally at the workstation or remotely at
- a server. Additionally, the log can be printed and cleared.
-
- $1
- \\servername Specifies the name of a remote server whose log
- is to be displayed. When \\servername is not
- specified, displays the error log at the local
- workstation.
-
- .1 MAKEDISK
- :1 [/BOOTDRIVE:k]
- #1 The MAKEDISK utility can be used to create a 386 HPFS boot diskette
- for the workstation after installing OS/2 2.1 and LAN Server 4.0 on
- a workstation. Use the DISKCOPY command to make backup copies of
- the OS/2 2.1 Installation diskette and the OS/2 2.1 Installation/
- Diskette 1 before using this utility.
-
- When MAKEDISK is run, certain files on the backup copy of the OS/2
- 2.1 Installation/Diskette 1 are altered. Other files are deleted
- to make room for the 386 HPFS system-related files. The disk device
- drivers and 386 HPFS system files are copied from the workstation's
- root directory on the boot drive.
-
- $1
- /BOOTDRIVE:k Specifies where the workstation was booted from,
- where k is the boot drive letter.
-
- .1 MAKEIMG
- :1 [[d:outfile] | [infile]] [/Ssss] [/Fxxx]
- #1 The MAKEIMG utility packages the system programs required for a
- remote IPL requester into an image file. If you want to make an
- image that does not contain DOS LAN Requester, use a model
- definition file that does not attempt to start DOS LAN Requester
- instead of using the standard definition files. All files must
- exist on the domain controller in the IBMLAN\DCDB\IMAGES subdirectory.
-
- $1
- d Is an optional drive letter
-
- outfile Is the name of the image file that is to be written.
- The .IMG extension is added automatically. This parameter
- is only necessary if a drive letter is specified.
-
- infile Is either the drive letter where a disk formatted with the
- FORMAT /S command can be found or the name of a definition
- file. This parameter is only used if no outfile is
- specified.
-
- /Ssss Specifies a target server name, where sss is the server
- name where the image file is created.
-
- /Fxxx Specifies an image diskette size, where xxx can be one of
- the following:
- 360
- 720
- 1.2
- 1.4
-
- The default size is 720KB. This parameter can be used to
- override the drive capacity found in the .DEF file.
-
- .1 MKRDPM
- :1
- #1 The MKRDPM utility allows the user to create remote IPL diskettes.
- The user can select the network adapter type from a list displayed
- on the main panel. A remote IPL diskette is created that initializes
- the network adapter and starts the remote IPL boot process.
-
- $1
- There are no options for this utility.
-
- .1 MMUTIL
- :1 {d: /remove | d: /apply /b:256 | d: /status}
- #1 MMUTIL is used to apply or remove the multimedia (MM) format on the
- drive specified without requiring a reformat. All data will be safely
- preserved.
- $1
- d: Specifies the target drive on which MMUTIL will run.
-
- /remove Removes the multimedia (MM) format from the drive specified.
-
- /apply Applies the MM format to the drive specified.
-
- /b Specifies the block size to be used for the MM format.
- Only 256 is currently available.
-
- /status Gives the format status of the drive specified.
-
- .1 NETMSG
- :1 [/MIN]
- #1 NETMSG starts the Network Messaging utility. It is an OS/2 application
- that runs in a Presentation Manager window. It works in conjunction with
- the Messenger service and allows users to send messages, displays popups
- for incoming messages, and allows management of messages stored in the
- message log.
-
- $1
- /MIN Starts the Network Messaging utility in a minimized state.
-
- .1 PREPACL
- :1 /P [/FL:filename | /DL:filename | /D:dirname] /B:filename | /N
- [/L1:filename] [/L2:filename] [/O]
- #1 The PREPACL utility removes access control profiles from subdirectories
- and files on 386 HPFS drives required by the OS/2 program. Run PREPACL
- prior to installing OS/2.
-
- $1 /P Specifies to remove the 386 HPFS access control profiles
- in preparation for OS/2 installation.
-
- /FL Specifies a file name containing a list of files and subdirectories
- from which to back up and remove access control profiles. All
- access control profiles for the specified files and subdirectories
- and paths to those subdirectories will be removed. This parameter
- cannot be used with the /DL or /D parameters.
-
- /DL Specifies a file name containing a list of subdirectories
- from which to back up and remove access control profiles. Access
- control profiles will be removed for the subdirectory, any
- subdirectories below it, and the contents of those subdirectories.
- This parameter cannot be used with the /FL or /D parameters.
-
- /D Specifies a single subdirectory from which to remove access control
- profiles. This parameter cannot be used with the /FL or /DL
- parameters.
-
- /B Specifies a file name in which to save the access control profiles.
- If this parameter is not used, then /N must be specified.
-
- /N Specifies that the access control profiles should be removed but not
- backed up. If this parameter is not used, then /B must be specified.
-
- /L1 Specifies a remote error log in addition to \OS2\INSTALL\IBMLANER.LOG
- on the local workstation.
-
- /L2 Specifies a remote history log in addition to
- \OS2\INSTALL\IBMLSHST.LOG on the local workstation.
-
- /O Specifies to remove access control profiles using only the /FL,
- /DL, or /D parameters set in this command. If /O is not specified,
- PREPACL uses those parameters with any internal checklists generated
- by the OS/2 and LAN Server installation programs.
-
- To get Help one screen at a time, type NET HELP command | MORE.
-
- .1 PRIV
- :1 command [values]
- #1 PRIV ensures that a background process started by an administrator on a
- 386 HPFS server with local security remains privileged after the
- administrator logs off. A privileged process is a background process that
- has the equivalent of administrative privilege. A privileged process can
- access all files on the server for as long as it runs, no matter who logs
- on or off locally at the server.
-
- This command only works on servers.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $1
- command Is a .EXE, .COM, or .CMD file in the current path, or an internal
- OS/2 command.
-
- values Are options of the command being run.
-
- .1 PROFILER
- :1 [/r] [/v] [/q] [/c] pathname
- #1 PROFILER examines the file allocation layout of the files
- specified and generates a short report about the file allocation
- layout, which may assist in better tuning the performance.
- $1
- pathname Specifies the search specification for files to be
- profiled.
-
- /r Recurse all subdirectories.
-
- /v Display extent information for all files.
- Only files with recommendations are normally displayed.
-
- /q Do not display progress message.
-
- /c Correct cache-alignment or extent problems.
-
- .1 RESTACC
- :1 [drive:]pathname [[drive:]newname] [/F:[drive:]source] [/L1:[drive:]
- [path][filename]] [/S] [/V]
- #1 RESTACC restores the permissions for 386 HPFS volumes, the user accounts
- database, and the audit file stored with BACKACC.
-
- See also BACKACC.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $1
- drive: Is an optional drive letter.
-
- newname Is a new file to receive permissions from a file that was
- backed up with BACKACC. The existing permissions on newname
- (if any) are replaced with the restored permissions.
-
- pathname Is the directory or file for which permission records are
- to be restored.
-
- /F:source Is the source file used to restore permissions. If source is
- omitted, LAN Server uses IBMLAN\ACCOUNTS\ACLBAKd.ACL, where
- d is the drive letter of the volume being backed up.
-
- path Is the directory where the target file is to be located.
-
- /L1:filename
- Is the target file where the errors will be logged. If
- /L1:filename is not specified, then the errors will be
- written to the screen. (The L1: parameter is only valid
- in a remote install environment.)
-
- /S Is used with pathname only. It restores permissions for all
- subdirectories of the specified directory.
-
- /V Causes the names of the access control files to display
- as they are being restored by RESTACC.
- .1 RPLDSABL
- :1
- #1 RPLDSABL disables the Remote IPL service at a workstation that has a hard
- disk. Use RPLDSABL at a workstation that is no longer going to be started
- remotely. After running RPLDSABL, the workstation boots from its own hard
- disk instead of from a server running the Remote IPL service.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $1
- There are no options for this utility.
-
- .1 RPLENABL
- :1
- #1 RPLENABL enables the Remote IPL service at a workstation that has a hard
- disk. It configures the hard disk so that the workstation can be started
- from a server that is running the Remote IPL service. This does not prevent
- access to the hard disk after the workstation is booted remotely.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $1
- There are no options for this utility.
-
- .1 SYNTAX
- :1
-
- This is not an actual command, but is instead a help topic that describes
- the syntax of commands used with LAN Server. It can be retrieved
- by typing either NET SYNTAX or NET HELP SYNTAX at the command line.
-
- The Help system uses the special characters |, [], and {}
- to specify the syntax of commands.
-
- * The symbols [ and ] surround optional components of
- the command.
-
- * When there are several choices for an optional
- component, the character | separates the choices.
- You can only use one (1) element of a list of choices.
-
- For example, in the following command, you can use
- the option ALPHA and one of the options BETA and
- GAMMA:
- NET COMMAND [ALPHA] [BETA | GAMMA],
-
- * The characters { and } surround lists from which you
- must use one of the choices.
-
- * If the option is capitalized, it must be typed as it is.
- Otherwise, it is a variable, and can be replaced by its value.
- #1
- $1 There are no options for this topic. This topic is about how to
- read syntax lines. It is not a NET command.
-
-
- .1 THIN386
- :1 /B:d: /T:d:path [/L1:d:\path\filename] [/L2:d:\path\filename]
- #1 The THIN386 utility creates a temporary 386 HPFS file system that can
- be used by the LAN Server installation/configuration program.
-
- $1
- /B: Specifies the boot drive where CONFIG.SYS is
- located.
-
- /T: Specifies the path on which to install the
- THIN 386 HPFS.
-
- /L1: An optional parameter to specify a remote error
- log other than \OS2\INSTALL\IBMLANER.LOG on the
- local workstation.
-
- /L2: An optional parameter to specify a remote history
- log other than \OS2\INSTALL\IBMLSHST.LOG on the
- local workstation.
-
- d: Specifies the drive letter. The drive letter can
- be different for the required or optional parameters.
-
- .1 NAMES
- :1
-
- This is not an actual command, but is instead a help topic that describes
- the types of names that are used with LAN Server. It can be retrieved
- by typing either NET NAMES or NET HELP NAMES at the command line.
-
- IBM OS/2 LAN Server recognizes several different types of names:
-
- * MESSAGE NAME -- A name used to receive messages. This is
- not the same as a user ID.
- * MACHINE ID -- The name of a server or a requester
- on a local area network. In a UNC name, a
- server's machine ID is preceded by two backslashes
- (as in \\SERVER\RESOURCE).
- * DEVICE -- The identifier of a disk, printer, or
- other device physically connected to your computer,
- or the name assigned to a shared resource that you
- are using. They include disk drive letters (A:, B:,
- ...Z:), serial ports (COMx), and parallel ports (LPTx).
- * FILENAME -- A unique name for a file that can be from
- one to eight characters in length and may be followed
- by a filename extension consisting of a period (.)
- and one to three characters.
- * UNC NAME -- A server's machine ID followed by the
- netname of a resource (as in \\SERVER1\PRINTQ).
- UNC is the abbreviation for Universal Naming Convention.
- * PATH -- Includes the name of one or more directories,
- where each directory name is preceded by a backslash
- (\). For example, \CUSTOMER\CORP\ACCT is a path.
- * PATHNAME -- Includes the name of one or more
- directories followed by a filename. Each directory
- name and filename within the pathname is preceded by
- a backslash (\). For example, the pathname
- \PROJECT\MONTHLY.RPT points to a file named
- MONTHLY.RPT in the project directory.
- * NETNAME -- The name by which a shared resource is
- known to LAN Server.
- * USER ID -- The name a user types when she or he logs
- on to the local area network.
- #1
- $1 There are no options for this topic. This is a help topic about the
- different types of names LAN Server uses. It is not a NET command.
-
- .1 NET
- .2 ACCESS
- :2 [resource | alias]
- NET ACCESS {resource | alias } [/ADD rights | /CHANGE rights]
- [/GRANT rights | /REVOKE name]
- [/TRAIL:[YES | NO]]
- [/FAILURE:{ALL | NONE}]
- [/FAILURE:{[OPEN];[WRITE];[DELETE];[ACL]}
- [/SUCCESS:{ALL | NONE}]
- [/SUCCESS:{[OPEN];[WRITE];[DELETE];[ACL]}
- [/DELETE | /TREE | /APPLY]
- #2 NET ACCESS lists, creates, changes, revokes, and applies permissions set
- for a resource or alias at the server.
-
- Permissions assigned to a directory automatically become the permissions
- for files within the directory unless specific permissions are assigned.
- Then the specific permissions override directory permissions.
-
- When used without options, NET ACCESS lists resources shared on
- the server and permissions for each.
-
- NOTE: /TRAIL can't be used with /FAILURE or /SUCCESS.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- name Identifies an existing user ID or group ID.
-
- permission Is one or more of the following access rights. Type
- permissions for access to a disk resource without
- a delimiter (for example: RWC).
-
- Letter Permission
- ────── ─────────────────────────────────────────────────────
- A Change resource attributes. The attributes are R
- (read only), H (hidden), S (system), and A (archive).
- C Create files and directories in a shared
- directory. Users with this permission can change the
- file only while creating it.
- D Delete files and subdirectories within the shared
- directory, but not the shared directory.
- N (No) Denies access to a resource.
- P Change permissions for a directory or file.
- R Read, copy, and execute files, and change from one
- subdirectory to another within the shared directory.
- W Write to a file.
- X Execute a command or program. Only OS/2 requesters
- recognize X permission. To allow a user with a
- DOS requester to run a program, grant that user
- R permission.
- NOTE: X permission isn't needed if R permission
- is assigned to the user for that directory
- or file. R permission includes all rights that
- X permission grants.
- Y (Yes) Gives default (RWCDA) access permissions to
- a resource. Y cannot be used with other permissions
- except P.
-
- rights Specifies, in the form name:permissions, the name of a
- user or group and the permissions for the resource.
- Multiple user or group names can be entered by separating
- sets of name:permissions with a space.
-
- resource Names the resource for which you are viewing, modifying
- or applying permissions. The resource can be a disk,
- directory, file, spooler queue, serial device, or named
- pipe. Directory and files resources should be specified
- as an absolute path. Resource names that are spooler
- queues, serial devices, or named pipes must be preceded
- by \PRINT\, \COMM\, or \PIPE\ respectively. If /APPLY is
- specified, the resource must be a directory.
-
- alias Names the alias for which you are viewing, modifying or
- applying permissions. The alias can be a file, printer
- or serial device alias. If /APPLY is specified, the
- alias must be a files alias.
-
- /ADD Adds a resource name, and optionally, one or more
- user's or group's permissions to use the resource.
- You can name a resource and define permissions for
- a resource before sharing the resource.
-
- /CHANGE Changes one or more user's or group's permissions for a
- resource.
-
- /DELETE Removes permissions for a resource from the
- access control database.
-
- /GRANT Adds one or more user's or group's permissions for a
- resource.
-
- /REVOKE Revokes permissions granted to users or groups to use a
- resource.
-
- /TREE Reports permissions for a directory resource and
- all of its subdirectories.
-
- /APPLY Applies the access control profile of the specified
- resource or alias to all the subdirectories below
- the specified directory.
-
- /FAILURE Audits failed accesses to resources as determined
- by the following values:
-
- ALL Audits all failed resource access attempts.
- OPEN Audits failed attempts to open shared files.
- WRITE Audits failed attempts to write to shared files.
- DELETE Audits failed attempts to delete shared files.
- ACL Audits failed attempts to change permissions
- for a shared resource.
- NONE No auditing of failures is done.
-
- /FAILURE and /SUCCESS can be on the same command
- line, but do not use /FAILURE with /TRAIL.
-
- /SUCCESS Audits successful accesses to resources as determined
- by the following values:
-
- ALL Audits all successful resource access attempts.
- OPEN Audits successful attempts to open shared files.
- WRITE Audits successful attempts to write to shared
- files.
- DELETE Audits successful attempts to delete shared
- files.
- ACL Audits successful attempts to change permissions
- for a shared resource.
- NONE No auditing of successful accesses is done.
-
- /SUCCESS and /FAILURE can be on the same command line,
- but do not use /SUCCESS with /TRAIL.
-
- /TRAIL:[YES | NO] Turns audit trailing on or off for a particular
- resource. (The default is NO.) Do not use this option
- with the /FAILURE or /SUCCESS options.
-
- .2 ACCOUNTS
- :2 [/ROLE:{PRIMARY | BACKUP | MEMBER | STANDALONE}]
- [/FORCELOGOFF:{minutes | NO}]
- [/MINPWLEN:length]
- [/MAXPWAGE:{days | UNLIMITED}]
- [/MINPWAGE:days]
- [/UNIQUEPW:number]
- #2 The NET ACCOUNTS command displays and modifies password and logon
- requirements for all accounts in the user accounts system (stored in the
- \IBMLAN\ACCOUNTS\NET.ACC file.) This command is also necessary for
- setting server roles for the accounts database.
-
- Several conditions are required for options used with NET ACCOUNTS
- to take effect:
-
- ■ The Netlogon service must be running on all servers in the domain
- that verify logon.
-
- ■ All requesters and servers that log on in the domain must have
- the same domain entry in the IBMLAN.INI file.
-
- When used without options, NET ACCOUNTS displays account information.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- /ROLE: Determines how the servers in a domain
- participate in logon security. Four roles
- are provided:
-
- Role Description
- ---- -------------------------------
- PRIMARY Specifies the server as the
- domain controller. Only one
- server per domain can be a domain
- controller. The domain controller
- contains the master user accounts
- database. Accounts database updates
- are made at the domain controller
- and then copied to other machines
- running the Netlogon service,
- such as Members and Backups.
- The domain controller also verifies
- network logon requests.
-
- You can define other servers in the
- domain as backup domain controllers
- to validate logons when the domain
- controller is not functioning.
- Backup domain controllers are
- defined through the installation/
- configuration program and receive
- DCDB information from the domain
- controller by using the DCDB
- Replicator service.
-
-
- BACKUP Each backup server receives a copy
- of the user accounts database when
- updates are made. There can be
- multiple backup servers on a domain.
- Backup servers can also validate
- network logon requests.
-
- You cannot use NET ACCOUNTS BACKUP
- to change a member or standalone
- server to a backup domain controller
- because the DCDB Replicator service
- must also be installed. The
- installation/configuration program
- is used to install this service. It
- is recommended that you use the
- installation/configuration program
- to define backup domain controllers.
-
-
- MEMBER A member server can neither update
- the accounts database nor validate
- logon requests, but does maintain a
- copy of the database. A
- domain can have more than one
- member server. Members cannot
- validate network logon requests.
-
-
- STANDALONE Maintains its own user accounts
- database and does not participate
- in replication. Indicates that you
- cannot run the Netlogon service.
-
-
- /FORCELOGOFF:{minutes | NO} Sets the number of minutes a user has
- before being forced to log off when the
- account expires or valid logon hours expire.
- NO, the default, prevents forced logoff.
-
- /MINPWLEN:length Sets the minimum number of characters for
- a password. The range is 0-14 characters;
- the default is 4 characters. However, User
- Profile Management only accepts passwords
- up to 8 characters for the minimal character
- set and up to 10 characters for the extended
- character set.
-
-
- /MAXPWAGE:{days | UNLIMITED} Sets the maximum amount of time (expressed
- as a number of days) that a password is
- valid.
-
- /MINPWAGE:days Sets the minimum time (number of days) that
- must pass before a user can change a new
- password.
-
- /UNIQUEPW:number The number of old passwords retained by the
- system for a user. When changing a password,
- the new password may not be the same as the
- current password or any passwords stored by the
- system for this user. The maximum value is 8.
-
- .2 ADMIN
- :2 \\machineID [password | *] /COMMAND [command]
- #2 The NET ADMIN command is used to run a command or start a command
- processor from the local server to manage a remote server.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- \\machineID Specifies a remote server for which you have administrative
- privileges.
-
- command Is the single network or operating system command to
- run.
-
- /COMMAND Runs a single non-interactive command, or starts a
- secondary command processor on a remote server. To start
- a secondary command processor, press ENTER immediately
- after /COMMAND. Then type as many commands as necessary
- on the remote server. Return to the local server by
- typing exit or pressing CTRL+Z.
-
- password | * Is the administrator's password for the specified server.
- This can be different from the administrator's logon
- password. An asterisk (*) produces a prompt for the
- password. The password will not be displayed when you
- type it.
-
- .2 ALIAS
- :2 aliasname [\\servername resource]
- [/WHEN:{STARTUP | REQUESTED | ADMIN}]
- [/REMARK:"text"]
- [/USERS:number | /UNLIMITED]
- [/PRINT | /COMM]
- [/PRIORITY:number]
- [/DELETE]
- [/DOMAIN:name]
- #2 The NET ALIAS command creates, deletes, changes and displays
- information about aliases.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- aliasname Is the name of the alias.
-
- resource Is the name of the resource for the
- specified alias. For a files alias,
- resource is the absolute path. For a
- printer alias, resource is the printer
- queue name. For a serial device alias,
- resource is a list of serial devices
- separated by blanks. Valid serial devices
- are COM1 through COM9 and LPT1 through LPT9.
-
- /USERS:number Sets the maximum number of users that can
- use the alias at the same time. If /USERS
- and /UNLIMITED appear in the same command,
- the last occurrence will override the first.
-
- /UNLIMITED Removes restrictions on the number of
- users that can use the alias at the same
- time.
-
- /REMARK:"text" Specifies the description of the alias.
- The description must be enclosed in double
- quotation marks ("").
-
- /WHEN: Specifies when the alias is shared.
- {STARTUP | REQUESTED | ADMIN}
-
- /COMM Defines the alias as a serial device.
-
- /PRINT Defines the alias as a spooler queue.
-
- /PRIORITY:number Defines the priority of a serial device
- alias. 1 is the highest priority and
- 9 is the lowest.
-
- /DELETE Deletes the specified alias. If the resource
- designated by this alias is shared, users
- may still use it.
-
- /DOMAIN:name Allows alias operations on a domain other
- than the logon domain. The user must be
- defined in the specified domain with
- administrator or server operator privilege.
- .2 APP
- :2 [appid]
- appid {/APPDIR:alias[\rempath] | localpath]}
- {/APPDRIVE:d}
- {/COMMAND:"text"}
- {/REMARK:"text"}
- [/WRKDIR[:alias[\rempath] | localpath]]]
- [/WRKDRIVE:d]
- [/TYPE:DOS | OS2]
- [/INTERFACE:PM | FS | VIO]
- [/PROMPT:Y | N]
- [/PRIVATE:userid]
- [/ASSIGN device:alias[,device:alias...]]
- [/UNASSIGN device:alias[,device:alias...]]
- [/ADD]
- [/DELETE]
- [/DOMAIN:name]
- #2 The NET APP command creates, deletes, changes and displays
- information about application definitions.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- appid Specifies the unique application ID for the application.
- Appid can be a maximum of 8 bytes in length. An appid cannot
- contain imbedded blanks or any of the following characters:
- " / \ [ ] : | < > + = ; , . ? *
-
- /APPDIR Specifies the directory where the application program
- resides. If the application is installed on a server and
- will be used remotely by requesters, its location must
- be specified by an alias. All DOS public applications must
- specify an alias for this value. /APPDIR is a required
- parameter when adding an application definition.
-
- alias Specifies an existing files alias definition pointing to
- a directory containing the application or to a directory
- containing the application in one of its subdirectories.
-
- rempath Specifies the remaining path, beyond 'alias', to the
- subdirectory containing the application or working directory.
-
- localpath Specifies a fully-qualified path to a directory that is
- local to each requester. For example, if an application
- is defined with /APPDIR:c:\os2\apps (where c: is a local
- drive), the application must be installed in the
- c:\os2\apps directory of every requester that will use it.
- DOS Public applications for use on DOS/Windows requesters
- may not specify a localpath as an operand for the /APPDIR
- parameter.
-
- /APPDRIVE:d Specifies the drive letter that is to be used when a
- connection is made to the remote directory specified
- by the /APPDIR switch. /APPDRIVE is required by
- DOS applications when /APPDIR specifies a remote directory.
- /APPDRIVE should not be specified if /APPDIR specifies
- a local directory.
-
- /COMMAND Specifies the program name used to run the application
- and any parameters that are to be passed to the program.
- If no program extension is specified, ".EXE" is assumed.
- If parameters are specified, the text must be enclosed in
- quotation marks. For example, to specify a .CMD file
- that takes two parameters, the syntax would be
- /COMMAND:"app1.cmd /A /B"
- /COMMAND is a required parameter when adding an application
- definition.
-
- /REMARK A description of the application. The maximum description
- length is 40 characters. LS 3.0 (and lower) requesters
- use this value as the application's title. A remark is
- required and must be unique. Enclose the text in
- quotation marks.
-
- /WRKDIR Specifies the drive and directory to be made current when
- the application runs. All DOS Public applications must
- specify an alias for this value. Other application types
- may specify either an alias or a localpath. /WRKDIR
- specified without an argument indicates that there is no
- working directory for the application; this option can
- be used to remove an existing working directory.
-
- /WRKDRIVE:d Specifies the drive letter (or '*') that is to be used when
- a connection is made to the remote directory specified
- by the /WRKDIR switch. /WRKDRIVE should not be specified
- if /WRKDIR specifies a local directory. If /WRKDIR specifies
- a remote directory and /WRKDRIVE is not specified, a value
- of '*' is assumed. (A value of '*' means that the next
- available drive letter will be used.)
-
- /TYPE Indicates whether the application is a DOS or an OS/2 app.
- The default value is OS2.
-
- /INTERFACE Specifies whether an application is a presentation manager
- (PM) application, runs in an OS/2 full-screen session (FS),
- or runs in an OS/2 window (VIO). The default value is PM.
- This switch is valid only for OS/2 applications; its value
- is ignored for DOS applications. This switch is provided
- for backwards compatibility with previous LAN Server
- versions.
-
- /PROMPT:Y | N Specifies whether the user is to be prompted for
- parameters when the application is started. The
- default value is N (do not prompt).
-
- /PRIVATE Indicates that the application is private to the specified
- user.
-
- /ASSIGN Specifies additional redirections that are needed by the
- application. The redirections are specified as
- device:alias pairs, and are separated by commas.
- The alias must specify an existing alias definition.
- Specifying '*' as the device associated with a files
- alias indicates that the next available drive letter
- will be used.
-
- For example, the following command would assign two
- redirections to the application EXMP_APP:
- NET APP EXMP_APP /ASSIGN LPT3:LASERPRT,H:HOMEDIR
-
- /UNASSIGN Deletes redirections associated with an application.
-
- /ADD Indicates that a new application is to be created.
-
- /DEL Indicates that the application is to be deleted.
-
- /DOMAIN:name Allows application management on a domain other than
- the logon domain. The user must be defined in the
- specified domain with administrator or server operator
- privilege.
-
- .2 AUDIT
- :2 [/COUNT:number] [/REVERSE]
- [/DELETE]
- #2 NET AUDIT displays and clears the audit log for a server.
-
- When used without options, NET AUDIT displays the server's audit trail.
- The display includes the user ID of the person who used a resource, the
- type of resource, the date and time of its use, and the amount of time
- it was used.
-
- This command only works on servers.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- /COUNT:number Displays the last number of audit entries in the log.
-
- /REVERSE Displays the audit-trail entries in reverse order (newest
- to oldest). When used with /COUNT:number, it displays the
- specified number of entries in reverse order.
-
- /DELETE Clears the server's audit trail.
-
- .2 COMM
- :2
- For a requester:
- NET COMM {\\servername[\netname] | device}
- {\\servername\netname | device} [/PURGE]
-
- For a server:
- NET COMM [device]
- netname [/PURGE] [/PRIORITY:number] [/ROUTE:device[...]] [/OPTIONS]]
- #2 NET COMM lists information about the queues for shared serial devices, and
- allows you to prioritize or reroute a queue, or clear requests from a queue.
-
- When used without options, the NET COMM command displays information
- about serial device queues on the local server.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- servername Is the name of the server sharing the serial device
- queue.
-
- netname Is the netname of the queue.
-
- device Is the name of the local serial device
- connected to the queue. COM1: through COM9: are
- available.
-
- /OPTIONS Displays the options assigned to the queue.
-
- /PRIORITY:number Sets a priority for the queue. Priorities range from
- 1-9, with 1 the highest priority.
-
- /PURGE Cancels all pending requests from the serial
- device queue, but does not affect the currently active
- requests.
-
- /ROUTE:device[,...] Specifies which devices will service the serial device
- queue. Separate devices with commas or semicolons(;).
-
- .2 CONFIG
- .3 REQUESTER
- :3 [/CHARCOUNT:bytes]
- [/CHARTIME:msec]
- [/CHARWAIT:sec]
- [/MAXERRORLOG:kbytes]
- [/OTHDOMAINS:name[,...]]
- [/PRINTBUFTIME:sec]
- #3 NET CONFIG REQUESTER displays information about, or changes the
- configuration of, a requester.
-
- Typing NET CONFIG without options displays a list of configurable
- services.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $3
- /CHARCOUNT:bytes Specifies the amount of data collected
- before sending it to a serial device. The
- range is 0 through 65535. The default
- is 16.
-
- /CHARTIME:msec Specifies the number of milliseconds data is
- collected before it is sent to a serial
- device. The range is 0 through 65535000.
- The default is 250.
-
- /CHARWAIT:sec Is the maximum time, in seconds, that your workstation
- is to wait for a requested serial device to become
- available. The range is 0 through 65535. The default
- is 3600.
-
- /MAXERRORLOG:kbytes Specifies the maximum size in kilobytes of the
- error log file. The range is 2 through the total
- disk size. The default is 100.
-
- /OTHDOMAINS:name[,...]
- Specifies another domain(s) that the requester
- participates in (up to four).
-
- /PRINTBUFTIME:sec Specifies the number of seconds the requester
- waits before submitting a print request from a DOS
- session. The range is 0 through 65535. The default
- is 90.
-
- .3 SERVER
- :3 [/ACCESSALERT:number]
- [/ALERTNAMES:name[...]]
- [/ALERTSCHED:time]
- [/AUTODISCONNECT:time]
- [/DISKALERT:number]
- [/ERRORALERT:number]
- [/LOGONALERT:number]
- [/MAXAUDITLOG:number]
- [/NETIOALERT:number]
- #3 NET CONFIG SERVER changes the configuration of a server and displays
- configuration information.
-
- Typing NET CONFIG without options displays a list of configurable
- services.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $3
- /ACCESSALERT:number Specifies the number of permission violations
- that can occur before an alert message is sent to
- users listed.
-
- /ALERTNAMES:name[,...] Specifies user IDs to receive alert messages
- (such as a printer problem or full disk).
- Separate user IDs with commas or semicolons.
-
- /ALERTSCHED:time Specifies how often (in minutes) the server
- checks for alert conditions.
-
- /AUTODISCONNECT:time Specifies the maximum number of minutes a user's
- session can be inactive before it is
- automatically disconnected.
-
- /DISKALERT:number Specifies a minimum number of kilobytes of
- available disk space. When available disk space
- is less than the specified amount, an alert
- message is generated.
-
- /ERRORALERT:number Specifies the number of errors that trigger an
- alert message.
-
- /LOGONALERT:number Specifies the number of logon violations that
- trigger an alert message.
-
- /MAXAUDITLOG:number Specifies the maximum number of kilobytes for
- the server's audit-trail file, NET.AUD.
-
- /NETIOALERT:number Specifies the number of disk input-output
- (I/O) errors that trigger an alert message.
-
- .3 PEER
- :3 [/MAXAUDITLOG:number]
-
- #3 NET CONFIG PEER changes the configuration of the Peer service and displays
- configuration information.
-
- Typing NET CONFIG without options displays a list of configurable
- services.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $3
- /MAXAUDITLOG:number Specifies the maximum number of kilobytes for
- the server's audit-trail file, NET.AUD.
-
- :2 [REQUESTER | SERVER | PEER [options]]
- #2 NET CONFIG changes the configuration of a requester, a server, or the Peer
- service and displays configuration information.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- REQUESTER Displays information or changes the configuration
- of a requester.
-
- SERVER Changes the configuration of a server and displays
- configuration information.
-
- PEER Changes the configuration of the Peer service and displays
- configuration information.
-
- options Type NET HELP CONFIG REQUESTER, NET HELP CONFIG SERVER,
- or NET HELP CONFIG PEER for more information about all
- NET CONFIG options.
-
- .2 CONTINUE
- :2 service
- #2 NET CONTINUE continues Requester or Server services suspended by
- the NET PAUSE command.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- service Can be NETRUN, SERVER, REQUESTER, PEER, or NETLOGON.
-
- .2 COPY
- :2
- For a requester:
- NET COPY [source[+source...]] [/A | /B] [destination [/A | /B] [/V]]
-
- #2 NET COPY copies files from a source to a destination.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- destination Specifies where source will be copied to.
- Destination can be a file, a directory, or a
- device. You can also use wildcard characters to
- specify multiple files.
-
- source Specifies the file(s) being copied. Source can be a
- file, a directory, or a device. You can also
- specify multiple files by using wildcard characters.
-
- + Appends files. The plus parameter is placed between
- files to join them and to place them in a new file.
-
- /A Treats the source or destination as ASCII text.
-
- /B Treats the source or destination as a binary file.
-
- /V Verifies that information was properly recorded on
- the destination disk.
-
- .2 DASD
- :2 [resource]
- NET DASD resource /ADD /MAX:nnn [/VALIDATE:Y|N] [/THRESHOLD:nn [/INCREMENT:nn]]
- NET DASD resource /DELETE
- NET DASD resource [/MAX:nnn [/VALIDATE:Y|N]] [/THRESHOLD:nn] [/INCREMENT:nn]
- NET DASD resource /TREE
- NET DASD volume {/ENABLE | /DISABLE | /REFRESH}
- #2 NET DASD enables, disables, modifies, and lists directory limits for the
- maximum usable disk space for HPFS386 logical drives. An administrator
- can apply a limit to a directory tree so that the tree will not grow
- beyond the limit.
-
- When used without options, NET DASD lists directories that have limits
- placed on them, and the limit and actual number of bytes used for each.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get help information one screen at a time, type:
-
- NET HELP command | MORE.
-
- To get additional information about options for this command, type:
-
- NET HELP DASD /O
- $2
- resource Names the resource for which directory limits are
- being viewed or modified. The resource must be
- specified as an absolute path.
-
- volume Names the logical disk for which directory limits
- are to be enabled or disabled. The volume must be
- a local HPFS386 volume.
-
- /ADD Adds a limit to a directory. The volume on which
- the directory resides must have directory limits
- enabled. The limit applied to the directory is
- specified with the /MAX parameter.
-
- /DELETE Removes a directory limit from a directory.
-
- options Are useful when adding or modifying directory limits.
- They include the following:
-
- Options Description
- ------- -----------
- /DISABLE Removes directory limit support from an HPFS386
- volume.
-
- /ENABLE Causes HPFS386 volumes to support directory limits.
-
- /INCREMENT:nn Specifies the increase beyond the value of the
- /THRESHOLD parameter where mini-thresholds are set.
- The increment is specified as a percent of the
- maximum directory size. A value of 0 indicates
- that no incremental threshold is to be set; 0
- can also be used to remove an incremental
- threshold. The maximum valid value is:
-
- 100 - /THRESHOLD - 1.
-
- For example, if the threshold is set to 80%,
- the maximum value for the /INCREMENT parameter
- is (100 - 80) - 1 = 19.
-
- Also, the increment value, calculated using the
- /INCREMENT percentage times the /MAX value, must
- be greater than 1KB.
-
- NOTE: You must set a threshold before you can use
- the /INCREMENT parameter or set them together
- in the same command.
-
- /MAX:nnnnnnn Specifies the maximum size, in KB, to which the
- directory may grow. For example, /MAX:50 specifies
- a limit of 50KB; /MAX:1024 specifies a limit of 1MB.
- The minimum valid value for /MAX is 1; the maximum
- valid value is 67108863.
-
- /REFRESH Indicates that the directory sizes on the specified
- volume are to be recalculated.
-
- /THRESHOLD:nn Specifies the value where directory usage will
- generate an alert. The threshold is specified
- as a percent of the maximum disk space size. For
- example, if the directory limit on a directory
- is 100KB and an alert is to be generated when
- disk space usage is 80KB or higher, the value
- for the /THRESHOLD parameter would be 80. Valid
- values for the /THRESHOLD parameter are 0-99,
- inclusive. A value of 0 indicates that no
- threshold is to be set. A value of 0 can be used
- to remove an existing threshold.
-
- Also, the threshold value, calculated using the
- /THRESHOLD percentage times the /MAX value, must
- be greater than 1KB.
-
- /TREE Reports the directory limit and the actual number
- of bytes used for the specified directory and all
- of its subdirectories.
-
- /VALIDATE[:YES | :NO] If /VALIDATE:NO is specified, the limit indicated
- by the /MAX parameter is applied to the resource
- regardless of the actual disk space usage. If
- /VALIDATE:YES or /VALIDATE is specified, the
- limit indicated by the /MAX parameter is compared
- to the actual disk space usage for the tree; the
- directory limit is applied only if /MAX is less
- than the actual disk space usage. The default
- value for /VALIDATE is YES.
-
- For example, if the actual disk space usage for the
- specified resource is 100KB, and the value
- specified by /MAX is 50KB, the directory limit
- would only be added or set if the value of
- /VALIDATE is NO.
-
- NOTE: The /VALIDATE parameter must be used with
- the /MAX parameter.
-
- .2 DEVICE
- :2 [device [/DELETE ]]
- #2 NET DEVICE lists the status of shared serial devices. When used
- without options, NET DEVICE displays the status of the serial devices
- (com ports) shared by the local server.
-
- This command only works on servers.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- device Is the local name of a device, such as COM1.
-
- /DELETE Cancels the current request and opens the device to the
- next request.
-
- .2 ERROR
- :2 [/COUNT:number] [/REVERSE] [/DELETE]
- #2 NET ERROR displays or clears the error messages stored in the error
- log file.
-
- Typing NET ERROR without options displays the contents of the error log
- file.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- /COUNT:number Displays the specified number of error messages.
-
- /REVERSE Displays error messages in order of newest to oldest.
- Without this option, messages are displayed in order of
- oldest to newest.
-
- /DELETE Removes all entries from the error log.
-
- .2 FILE
- :2 [id [/CLOSE]]
- #2 NET FILE displays the names of all open shared files and the number
- of locks, if any, on each file. It also closes shared files and
- removes file locks.
-
- When used without options, net file lists the open files on a server.
- The listing includes the identification number assigned to an open file,
- the pathname of the file, the user ID, and the number of locks on the
- file.
-
- This command only works on servers.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- id Is the identification number of the file.
-
- /CLOSE Closes an open file and releases locked records. Type this
- command from the server where the file is shared.
-
- .2 FORWARD
- :2 msgname fwdname
- msgname /DELETE
- #2 NET FORWARD reroutes incoming messages for one user's messaging name
- to another messaging, or cancels forwarding.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- msgname Is the messaging name whose messages are to be forwarded.
-
- fwdname Is the messaging name that is to receive the forwarded messages.
-
- /DELETE Cancels message forwarding for msgname. Forwarding is also
- canceled if the receiving requester is stopped.
-
- .2 GROUP
- :2 [groupID [/COMMENT:"text"]]
- groupID {/ADD [/COMMENT:"text"] | /DELETE}
- groupID userID [...] {/ADD | /DELETE}
- #2 NET GROUP displays the names of groups and their members and updates
- the group list for the domain when run at a server. The list of groups
- and group members is in the \IBMLAN\ACCOUNTS\NET.ACC database file.
-
- When used without options, NET GROUP displays the name of the server
- and the group IDs on the server.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- groupID Is the name of the group to be added, expanded, or
- deleted. This option used alone (NET GROUP groupID)
- displays the names of the group and its members.
-
- userID [...] Is one or more IDs to be added or deleted.
- Separate multiple IDs with a space.
-
- /ADD Adds a group, or adds members to a group. Before using
- the /ADD option for a group member, set up an account for
- the new user.
-
- /COMMENT:"text" Specifies a comment about the group. Add a comment to an
- existing group account, or provide the comment when
- adding a group. Comments can have up to 48 characters.
-
- /DELETE Removes a group, or removes members from a group.
-
- .2 HELP
- :2 [command [/OPTIONS]]
- NET HELP topic
- NET command [/HELP]
- [/?]
- #2 Help is available on these utilities:
- AT FIXACC HDCON MMUTIL RPLENABL
- BACKACC FTADMIN LSAUDIT NETMSG RPLDSABL
- CACHE386 FTMONIT LSERROR PREPACL THIN386
- CHGSRVR FTREMOTE MAKEDISK PRIV
- CHKSTOR FTSETUP MAKEIMG PROFILER
- DSPDOMDF GETRPL MKRDPM RESTACC
-
- Help is available on these NET commands:
- ACCESS COPY MOVE START
- ACCOUNTS DASD NAME STATISTICS
- ADMIN DEVICE PASSWORD STATUS
- ALIAS ERROR PAUSE STOP
- APP FILE PRINT TIME
- AUDIT FORWARD RUN USE
- COMM GROUP SEND USER
- CONFIG HELP SESSION VIEW
- CONTINUE LOG SHARE WHO
-
-
- Help is available on these special topics:
- NAMES SYNTAX
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- command Is the command you need help with. Don't type NET as
- part of the command.
-
- topic Is the topic you need help with.
-
- /OPTIONS Lists the options available.
-
- /? Displays the correct syntax of the command. Don't type
- HELP as part of the command.
-
- /HELP Provides information about the specified command.
-
-
- .2 LOG
- :2 [[drive:\path]filename | device] [/ON | /OFF]
- #2 NET LOG starts or stops sending messages to a file or printer, or
- displays information about message logging.
-
- Typing NET LOG without options displays information about how messages
- are logged.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- drive:\path Tells where the message log file is stored. Without a drive
- letter and path, the pathname is assumed to be in the
- IBMLAN\LOGS directory.
-
- filename Is the name of the message log file. If you don't specify an
- extension, .LOG is assumed. By default, messages are stored
- in MESSAGES.LOG.
-
- device Is the name of a device at your computer connected to a
- printer queue. Messages are printed as they're received.
- This name can be an LPT or COM device.
-
- /OFF Stops logging messages.
-
- /ON Restarts logging messages.
-
- To get Help one screen at a time, type NET HELP command | MORE.
-
- .2 MOVE
- :2 source [destination]
- #2 NET MOVE moves files between any two directories on the local area
- network you have permission to use. Moving relocates the file. The
- file remains unchanged during a move, but if the source and destination
- are on different machines, the file is given the creation date and time
- when the move occurred.
-
- You don't need to connect to shared directories to use NET MOVE.
- The source or destination can include a network path instead of a
- devicename.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
-
- source Is the pathname of the file being moved. You can specify
- multiple files by using wildcard characters.
-
- destination Is the pathname to which the source file is moved. If more
- than one file is moved, destination must be a directory.
- If destination is omitted, files are moved to the current
- directory. NET MOVE won't write over an existing file
- during a move. If destination is an existing file, the
- move is canceled.
-
- .2 NAME
- :2 [messagename [/ADD | /DELETE]]
- #2 NET NAME displays, adds, or deletes the message names defined in a
- requester's list of message names. A requester can have three kinds of
- message names, each receiving messages:
-
- ■ A machine ID, which is added as a message name with NET START REQUESTER
- when the Requester service is started
-
- ■ A user ID, which is added as a message name when you log on
-
- ■ Message names for sending messages, which are added with NET NAME or
- forwarded from another computer with NET FORWARD
-
- Typing NET NAME without options displays a list of message names in use
- at the requester, and any message names to or from which messages are being
- forwarded.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- messagename Is the message name you want to add or delete.
-
- /ADD Adds a message name to the requester. Typing /ADD is
- optional; typing NET NAME messagename works the same way.
-
- /DELETE Removes a message name from the requester.
-
- .2 PASSWORD
- :2 [[\\machineID | /DOMAIN[:name] userID oldpassword newpassword
- #2 NET PASSWORD changes the password for your user account on a server or
- in a domain.
-
- Typing NET PASSWORD without options results in prompts asking you to
- type the machine ID or domain, your user ID, old password, and new
- password.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- userID Identifies which user account to update.
-
- oldpassword Is the user's current password. Type an asterisk (*)
- if you want to keep your password confidential.
-
- newpassword Is the new password, which can be up to 8 characters
- long. Type an asterisk (*) if you want to keep your
- password confidential.
-
- /DOMAIN:name Is the domain (other than the default domain) in
- which the password will be changed.
-
- \\machineID Is the server at which the password will be changed. If no
- \\machineID is supplied, your password for your account
- in the requester domain is changed.
-
- .2 PAUSE
- :2 service
- #2 NET PAUSE suspends a server or requester service. Pausing a
- service puts it on hold. Users who already have a connection to the
- server's resources are able to finish their tasks, but new connections
- to the resources are prevented.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- service Is NETRUN, SERVER, REQUESTER, PEER, or NETLOGON.
-
- .2 PRINT
- :2
- For a requester:
- NET PRINT {\\machineID[\netname] | device}
- NET PRINT {\\machineID | device} job# [/HOLD | /RELEASE | /DELETE]
-
- For a server:
- NET PRINT netname [/PURGE | /OPTIONS]
- NET PRINT job# [/HOLD | /RELEASE | /FIRST | /DELETE]
- NET PRINT [netname | device]
-
- #2 NET PRINT displays or controls single print jobs on a printer queue,
- displays or controls the shared queue, and sets or modifies options for
- the printer queue.
-
- When used without options, NET PRINT displays information about printer
- queues on the server. For each queue, the display lists job numbers of
- queued requests, the size of each job (in bytes), and the status of the
- printer queue. The status of a print job can be:
-
- Waiting Pause
- Held Out of paper
- Printing Error
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- \\machineID Is the name of the server sharing the printer
- queue(s).
-
- netname Is the name of the shared printer queue.
-
- device Is the name of the device at your computer assigned
- to the shared queue. LPT1 through LPT9 are
- available. With the /ROUTE option, the printer
- queue is routed to the named device.
-
- job# Is the identification number assigned to a print
- request in a queue. A server with one or more
- printer queues assigns each print job a unique
- number. If a job number is on one queue shared by a
- server, that number will not be assigned to any
- other queues on that server.
-
- /HOLD When used with a job number, prevents a job waiting
- in the queue from printing. The job stays in the
- printer queue, and other jobs bypass it until it is
- released.
-
- /RELEASE Reactivates a job or printer queue that was held.
-
- /DELETE Cancels a print job. With a job number, removes the
- job from a queue.
-
- /FIRST Moves a job to the first position in the queue.
-
- /PURGE Removes all jobs except the current job from the
- queue.
-
- /OPTIONS Displays the options assigned to the shared printer
- queue.
-
- .2 RUN
- :2 command
- #2 NET RUN runs a program or command on a server.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- command Is the name of the program you want to run. The program is
- a .EXE file. You don't need to supply the filename extension.
- Include any necessary parameters for the program after the
- filename.
-
- .2 SEND
- :2
- For a requester:
- NET SEND {messagename | * | /DOMAIN[:name] | /BROADCAST} {message | <pathname}
-
- For a server
- NET SEND /USERS {message | <pathname}
- {messagename | * | /DOMAIN[:name] | /BROADCAST} {message | <pathname}
- #2 NET SEND sends messages or short files to other computers or users on
- the local area network.
-
- You can only send a message to a message name that is active on the network.
- If the message is addressed to a user ID, that user must be logged on.
- The Messenger service must be running on the receiving requester for
- that requester to receive the message.
-
- The size of a broadcast message is limited to 128 bytes. The size of a
- non-broadcast message is limited by the sizmessbuff= entry in the
- IBMLAN.INI file, which can be changed to accomodate messages as large as
- 62000 bytes.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- messagename Is the user ID, machine ID, or other message name to send
- the message to.
-
- * Sends the message to all message names in your requester
- domain.
-
- message Is text to be sent as a message.
-
- pathname Specifies a text file to be sent as a message.
-
- /DOMAIN: Sends the message to all aliases in your requester
- domain.
-
- /DOMAIN:name Sends the message to all message names in the specified domain.
-
- /BROADCAST Sends the message to all message names on the local area
- network.
-
- /USERS Sends the message to all users currently connected to one
- of the server's resources.
-
- .2 SESSION
- :2 [\\machineID] [/DELETE] [/PEER]
- #2 NET SESSION lists or disconnects sessions between a server and other
- computers on the local area network.
-
- When used without options, NET SESSION displays information about all
- sessions with the local server.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- machineID Lists the session information for the named machine.
-
- /DELETE Ends the session between the local server and
- machine ID, and closes all open files for the session.
- If machine ID is omitted, all sessions are ended.
-
- /PEER This option allows users to see who is connected to a
- requester (machineID) running the Peer service.
-
- .2 SHARE
- :2 [netname]
- netname=device [password]
- [/COMM]
- [/USERS:number | /UNLIMITED]
- [/REMARK:text]
- [/PERMISSIONS:XRWCDA]
- netname [password]
- [/PRINT]
- [/USERS:number | /UNLIMITED]
- [/REMARK:text]
- [/PERMISSIONS:XRWCDA]
- NET SHARE netname=drive:\path [password]
- [/USERS:number | /UNLIMITED]
- [/REMARK:text]
- [/PERMISSIONS:XRWCDA]
- NET SHARE [netname | device | drive:\path]
- [/USERS:number | /UNLIMITED]
- [/REMARK:text]
- [/DELETE]
- [/PERMISSIONS:XRWCDA]
- #2 NET SHARE makes a server's resource available to local area network
- users.
-
- When used without options, NET SHARE lists information about all
- resources being shared on the server. For each resource, LAN Server
- reports the device(s) or pathname associated with it, and a
- descriptive comment.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- device Specifies one or more printers or
- serial devices shared by netname.
-
- drive:\path Is the directory to be shared.
-
- netname Is the netname for the resource being
- shared.
-
- password Password for the network resource. Password
- is valid only for requesters running the Peer
- service in share-level security mode.
-
- /DELETE Stops sharing the resource.
-
- /PRINT Identifies the shared resource as a printer
- queue.
-
- /COMM Identifies a serial device queue.
-
- /PERMISSIONS:XRWCDA Specifies the permissions for the shared
- resource when the Peer service is running in
- share-level security mode. Any combination
- of the following permissions may be specified:
-
- Letter Permission
- ────── ─────────────────────────────────────────────────────
- A Change resource attributes. The attributes are R
- (read only), H (hidden), S (system), and A (archive).
- C Create files and directories in a shared
- directory. Users with this permission can change the
- file only while creating it.
- D Delete files and subdirectories within the shared
- directory, but not the shared directory.
- P Change permissions for a directory or file.
- R Read, copy, and execute files, and change from one
- subdirectory to another within the shared directory.
- W Write to a file.
- X Execute a command or program. Only OS/2 requesters
- recognize X permission. To allow a user with a
- DOS requester to run a program, grant that user
- R permission.
- NOTE: X permission isn't needed if R permission
- is assigned to the user for that directory
- or file. R permission includes all rights that
- X permission grants.
-
- /REMARK:text Is a descriptive comment about the shared
- resource.
-
- /UNLIMITED Specifies that any number of users can use a
- shared resource simultaneously.
-
- /USERS:number Specifies the maximum number of simultaneous
- users for a resource.
-
- .2 START
- .3 ALERTER
- :3 [/SIZALERTBUF:bytes]
- #3 NET START ALERTER starts the Alerter service on a server.
- The Alerter service sends messages about network information to users,
- such as the status of print jobs or resource availability. When used
- without the option, NET START ALERTER starts the service with the values
- specified in the [alerter] section of the IBMLAN.INI file. An option typed
- from the command line overrides the value in the IBMLAN.INI file until the
- service is stopped.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $3
- /SIZALERTBUF:bytes Determines the size in bytes of the alert-message
- buffer. The range is 512-16384; the default is
- 3072 bytes.
-
- .3 LSSERVER
- :3 [/CLEANUP:{YES|NO}]
- [/SRVPIPES:number]
-
- #3 NET START LSSERVER starts the LSserver service. This service supports
- remote requests from client machines for such tasks as spooling,
- query users, logon, and logoff. When used without options, NET START
- LSSERVER starts the service using the values specified in the [lsserver]
- section of the IBMLAN.INI file. An option typed from the command line
- overrides the value in the IBMLAN.INI file until the service is stopped.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $3
- /CLEANUP:{YES|NO} Specifies whether to clean up shares for dynamic aliases.
- The default is YES.
-
- /SRVPIPES:number Is the maximum number of pipes that the logical server
- uses. The default for n is 3 and should be increased
- only if the administrator detects unusually long logon
- times, printing responses, and so on.
-
- .3 GENALERT
- :3
- #3 NET START GENALERT starts the Generic Alerter service which generates
- LAN Server generic alerts and either sends them to the IBM LAN Manager log
- file or transmits them to the NetView(tm) network services control point
- using the First Failure Support Technology/2 (FFST/2) program.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $3
- There are no options for this command.
-
- .3 MESSENGER
- :3 [/LOGFILE:pathname]
- [/SIZMESSBUF:bytes]
-
- #3 NET START MESSENGER starts the Messenger service, which lets you exchange
- messages with other network users.
-
- Typing NET START MESSENGER also starts the Requester service if it is
- not already running. When used without options, NET START MESSENGER
- starts the service using the values specified in the [messenger] section
- of the IBMLAN.INI file. An option typed from the command line overrides
- the value in the IBMLAN.INI file until the service is stopped.
-
- In addition to the options listed here, NET START MESSENGER accepts all
- NET START REQUESTER options when you're starting both services with one
- command. For a list of these options, see NET START REQUESTER.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $3
- /LOGFILE:pathname Assigns a new pathname for the message log file. The
- default message log is MESSAGES.LOG in the IBMLAN\LOGS
- directory.
-
- /SIZMESSBUF:bytes Sets the size in bytes of the message buffer, limiting
- the size of messages the requester can receive. The
- range is 512-62000. The default is 4096.
-
- .3 NETLOGON
- :3 [/PULSE:seconds]
- [/RANDOMIZE:seconds]
- [/UPDATE:{YES | NO}]
- [/SCRIPT:pathname]
- [/SCANPERIOD:minutes]
- [/SCANTIME:time]
- [/SCANPAUSE:seconds]
- #3 NET START NETLOGON copies the master user and group definition file (NET.ACC)
- located on the domain controller to network servers. On domain controllers
- backup servers, this service also validates user logon requests and polls
- logged-on users (validated by this server) to keep the server's table
- of logged-on users accurate. This service is available only on servers.
-
- When used without options, NET START NETLOGON starts the service using the
- values specified in the [netlogon] section of the IBMLAN.INI file. An
- option typed from the command line overrides the value in the IBMLAN.INI
- file until the service is stopped.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $3
- /PULSE:seconds
- Specifies the time interval, in seconds, between sending update
- notices when no updates are occurring. This parameter is
- ignored unless the server's role is Primary (domain controller).
- The default value is 60 seconds.
-
- The role is set at server installation or with the NET ACCOUNTS
- command.
-
- /RANDOMIZE:seconds
- Specifies the time interval, in seconds, during which
- the Member, or Backup servers should randomize sending a
- request to get changes after receiving a change notice.
- This prevents overloading the domain controller with multiple
- update requests. This parameter is ignored unless the server's
- role is Primary (domain controller). The default value is 30
- seconds.
-
- /UPDATE:{YES | NO}
- When set to YES (the default), causes replication to occur at
- Member and Backup servers when the Netlogon service is
- started. Set /UPDATE to NO to prevent replication when the
- Netlogon service is started. The /UPDATE option is ignored at
- the domain controller.
-
- /SCRIPT:pathname
- Indicates a logon script to be used. The path is the location
- of the script. The default path in the IBMLAN.INI file is
- \IBMLAN\REPL\IMPORT\SCRIPTS.
-
- /SCANPERIOD:minutes
- Specifies the time, in minutes, that the server waits between
- polls of logged-on users. This parameter applies only to
- Primary or Backup servers. The default value is 15 minutes.
- The valid range is 0 to 1440 (0 stops polling).
-
- /SCANTIME:time
- Specifies time of day in 24-hour notation (hh:mm), that logged-on
- users are polled. This parameter only applies when /SCANPERIOD
- is 1440 (the number of minutes in a day). The default value is
- 0:00 (midnight).
-
- /SCANPAUSE:seconds
- Specifies the time in seconds that the server will pause between
- the poll of each logged-on user. This parameter applies only to
- Primary or Backup servers. The default is 0 seconds. The valid
- range is 0 to 15.
-
- .3 NETRUN
- :3 [/RUNPATH:pathname[;...]] [/MAXRUNS:number]
- #3 NET START NETRUN starts the Netrun service. The Netrun
- service enables users at requesters to run programs that are in
- the run path on the server. When used without options, NET START NETRUN
- starts the service using the values specified in the [netrun] section of
- the IBMLAN.INI file. An option typed from the command line overrides the
- value in the IBMLAN.INI file until the service is stopped.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $3
- /MAXRUNS:number Is the maximum number of NET RUN commands the
- server can handle concurrently. The range is 1-10;
- the default is 3.
-
- /RUNPATH:pathname[;...] Is the search path for programs that network users
- can run in the server's memory using the NET RUN
- command.
-
- .3 PEER
- :3
- with the following options:
- [/AUDITING:{YES | NO | event[,...]}] [/MAXSESSVCS:n]
- [/AUTOPATH:pathname] [/MAXSHARES:n]
- [/AUTOPROFILE:{NONE | LOAD}] [/MAXUSERS:n]
- [/GUESTACCT:name] [/NOAUDITING:event[,...]]
- [/MAXAUDITLOG:n] [/NUMBIGBUF:n]
- [/MAXCHDEVJOB:n] [/NUMFILETASKS:n]
- [/MAXCHDEVS:n] [/NUMREQBUF:n]
- [/MAXCONNECTIONS:n] [/SECURITY:{USER | SHARE}]
- [/MAXLOCKS:n] [/SIZREQBUF:n]
- [/MAXOPENS:n] [/SRVHEURISTICS:string]
- [/MAXSEARCHES:n] [/SRVNETS:name]
- [/MAXSESSOPENS:n] [/SRVSERVICES:service[;...]]
- [/MAXSESSREQS:n]
-
-
- #3 NET START PEER starts the Peer service, which allows requesters to share
- resources. When used without options, NET START PEER starts the
- service using the values specified in the [peer] section of the IBMLAN.INI
- file. An option typed from the command line overrides the value in the
- IBMLAN.INI file until the service is stopped.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $3
- /AUDITING:{YES | NO} Turns auditing on or off.
-
- /AUTOPATH:pathname Specifies the path to the profile that
- contains share information for the Remote IPL
- service. The path can be an absolute path
- beginning with a drive letter, a network path
- using a UNC name, or a filename relative to
- IBMLAN\PROFILES.
-
- /AUTOPROFILE:{NONE | LOAD} This parameter determines whether the profile
- specified by the AUTOPATH parameter is run
- when the Peer service starts. NONE
- indicates the profile should not be run; LOAD
- indicates the profile should be run.
-
- /GUESTACCT:name Indicates the Peer service guest account.
-
- /MAXAUDITLOG:number Is the maximum number (n) of kilobytes of
- the audit-trail file.
-
- /MAXCHDEVJOB:number Is the maximum number (n) of jobs that can
- be queued to Peer service serial device
- queues.
-
- /MAXCHDEVS:number Is the maximum number (n) of serial
- devices that can be shared by the Peer
- service.
-
- /MAXCONNECTIONS:number Is the maximum number (n) of simultaneous
- connections to shared resources.
-
- /MAXLOCKS:number Is the maximum number (n) of file locks
- the Peer service can accommodate at one time.
-
- /MAXOPENS:number Is the maximum number (n) of shared files
- and devices that can be open
- simultaneously.
-
- /MAXSEARCHES:number Is the maximum number (n) of file searches
- the Peer service can perform at one time.
-
- /MAXSESSOPENS:number Is the maximum number (n) of open files
- one session can have.
-
- /MAXSESSREQS:number Is the maximum number (n) of resource
- requests one requester can submit to the
- Peer service.
-
- /MAXSESSVCS:number Is the maximum number (n) of sessions one
- requester can have to a requester running
- the Peer service.
-
- /MAXSHARES:number Is the maximum number (n) of resources
- that can be shared simultaneously.
-
- /MAXUSERS:number Is the maximum number (n) of users who can
- connect to a requester running the Peer
- service simultaneously.
-
- /NOAUDITING:event[,...] Cancels auditing for the named event(s) when
- /AUDITING is set to YES. Events that can be
- changed are LOGON, LOGONLIMIT, GOODSESSLOGON,
- BADSESSLOGON, SESSLOGON, NETLOGON,
- GOODNETLOGON, USE, GOODUSE, BADUSE, RESOURCE,
- USERLIST, PERMISSIONS, and SERVICE. If
- /AUDITING:NO is set, the value of /NOAUDITING
- is ignored.
-
- /NUMBIGBUF:number Is the number of big buffers the Peer service
- uses.
-
- /NUMFILETASKS:number Is the number of file-worker threads the
- Peer service has.
-
- /NUMREQBUF:number Is the maximum number of buffers (in addition
- to the big buffers) the Peer service can
- have.
-
- /SECURITY:{USER | SHARE} Selects the security mode for the Peer
- service.
-
- /SIZREQBUF:number Is the maximum number of bytes for
- buffers other than big buffers.
-
- /SRVHEURISTICS:string Adjusts the heuristics string that tunes
- the performance of the Peer service.
-
- /SRVNETS:name Lists the names of networks on which the Peer
- service is working (from the [networks] section
- of IBMLAN.INI). Names are separated by commas.
-
- /SRVSERVICES:service Names the services to start when the
- Peer service starts.
-
- .3 REMOTEBOOT
- :3
- #3 NET START REMOTEBOOT starts the LAN Server Remote IPL service, which
- allows a requester to be started remotely.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | more.
-
- $3
- There are no options for this command.
-
- .3 REPLICATOR
- :3 [/REPLICATE:{EXPORT | IMPORT | BOTH}]
- [/EXPORTPATH:pathname] [/EXPORTLIST:list]
- [/IMPORTPATH:pathname] [/IMPORTLIST:list]
- [/INTERVAL:time]
- [/PULSE:number]
- [/RANDOM:seconds]
- [/GUARDTIME:time]
- [/TRYUSER:{YES | NO}]
- [/LOGON:userid]
- [/PASSWORD:{password | *}]
- #3 NET START REPLICATOR starts the Replicator service, which ensures that
- designated files are exactly the same on all specified computers. When
- used without options, it starts the service using the values specified in
- the [replicator] section of the IBMLAN.INI file. An option typed from the
- command line overrides the value in the IBMLAN.INI file until the service
- is stopped.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $3
- /EXPORTLIST:list Is as many as 32 computers or domains that
- receive notices when the export directory is
- updated. These computers subsequently replicate
- from the export server. Without a list, the export
- server sends a notice to all computers in its domain.
- Separate names with semicolons. This option is ignored
- if /REPLICATE is set to IMPORT.
-
- /EXPORTPATH:pathname Sets the path to the export directory. The export
- path can be an absolute path or relative to the IBMLAN
- directory. All files to be replicated must be in
- a subdirectory of this directory. The default path is
- REPL\EXPORT. This option is ignored if /REPLICATE is
- set to IMPORT.
-
- /GUARDTIME:time Is the number of minutes an export directory must be
- stable (no changes to any files) before import
- computers can replicate its files. The range is from
- 0 to half the value of /INTERVAL; the default is
- 2 minutes.
-
- /IMPORTLIST:list Is as many as 32 servers or domains that export
- directories to the import computer. If no list is
- specified, updates come from the computer's primary
- domain. Separate names with semicolons. This entry
- is ignored at export servers.
-
- /IMPORTPATH:pathname Sets the path on the import computer to receive
- replicas from the export servers. The import path
- can be an absolute path, a path relative to the
- IBMLAN directory, or a network pathname. This option
- is ignored if /REPLICATE is set to EXPORT. The
- default is REPL\IMPORT.
-
- /INTERVAL:time Is how often an export computer monitors changes
- in each directory. This option is ignored on import
- computers. The range is 1-60; the default is
- 5 minutes.
-
- /LOGON:userID Is necessary if the import computer updates
- files when no user is logged on to the network.
- This option is ignored if /TRYUSER is set to YES.
-
- /PASSWORD:{password | *}
- Is the password to accompany the user ID at
- replication to give the import computer access
- to Replicator files. Type an asterisk (*)
- instead of the password to be prompted for the
- password. If a value isn't supplied for /PASSWORD,
- no password is assumed.
-
- /PULSE:number Is the time (/PULSE * /INTERVAL minutes) the export
- server waits before sending repeat notices to the
- import computers. The range is 0-10; the default is 3.
-
- /RANDOM:seconds Sets the maximum number of seconds an import computer
- can wait before requesting an update. An import
- computer uses the export server's maximum value of
- /RANDOM to generate a random number of seconds (from
- 0 to /RANDOM). The range is 1-120; the default is
- 60 seconds.
-
- /REPLICATE:{EXPORT | IMPORT | BOTH}
- Determines whether the server exports files and
- directories, imports files and directories, or
- both. EXPORT is the server that maintains a master
- tree to be replicated. The Replicator service checks
- these directories and files for changes and notifies
- servers that import the files or directories. If
- EXPORT is not used, the Replicator service does
- not monitor the specified tree for changes.
- IMPORT is the computer to receive update notices
- from the export server. If /REPLICATE is specified
- without options, IMPORT is assumed. BOTH specifies
- that a server is to export and import directories
- or files.
-
- /TRYUSER:{YES | NO} Determines whether the Replicator service attempts
- to update files to an import computer if a user is
- logged on to the network. If the value is YES, the
- user ID and password must be valid. If NO, the
- Replicator service only updates when the user is
- logged off, using the /LOGON and /PASSWORD options
- to supply the logon information.
-
- .3 DCDBREPL
- :3 [/INTERVAL:time]
- [/PULSE:number]
- [/RANDOM:seconds]
- [/GUARDTIME:time]
- [/TRYUSER:{YES | NO}]
- [/LOGON:userid]
- [/PASSWORD:{password | *}]
-
- #3 NET START DCDBREPL controls the replication of the DCDB information on
- domain controllers to backup domain controllers. The backup domain
- controllers must be defined by the installation/configuration program.
- The installation/configuration program defaults to start the DCDB
- Replicator service automatically each time the domain controller is
- started. If you select not to start this service automatically, you
- can use NET START DCDBREPL to start it. The parameters supported by
- the DCDB Replicator are a subset of the parameters supported by the
- Replicator service. You can run both DCDBREPL and REPLICATOR
- simultaneously on a domain controller.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $3
- /GUARDTIME:time Is the number of minutes an export directory must be
- stable (no changes to any files) before import
- computers can replicate its files. The range is from
- 0 to half the value of /INTERVAL; the default is
- 2 minutes.
-
- /INTERVAL:time Is how often an export computer monitors changes
- in each directory. This option is ignored on import
- computers. The range is 1-60; the default is
- 5 minutes.
-
- /LOGON:userID Is necessary if the import computer updates
- files when no user is logged on to the network.
- This option is ignored if /TRYUSER is set to YES.
-
- /PASSWORD:{password | *}
- Is the password to accompany the user ID at
- replication to give the import computer access
- to the DCDBREPL files. Type an asterisk (*)
- instead of the password to be prompted for the
- password. If a value isn't supplied for /PASSWORD,
- no password is assumed.
-
- /PULSE:number Is the time (/PULSE * /INTERVAL minutes) the export
- server waits before sending repeat notices to the
- import computers. The range is 0-10; the default is 3.
-
- /RANDOM:seconds Sets the maximum number of seconds an import computer
- can wait before requesting an update. An import
- computer uses the export server's maximum value of
- /RANDOM to generate a random number of seconds (from
- 0 to /RANDOM). The range is 1-120; the default is
- 60 seconds.
-
- /TRYUSER:{YES | NO} Determines whether the DCDBREPL service attempts
- to update files to an import computer if a user is
- logged on to the network. If the value is YES, the
- user ID and password must be valid. If NO, the
- DCDBREPL service only updates when the user is
- logged off, using the /LOGON and /PASSWORD options
- to supply the logon information.
-
- .3 SERVER
- :3
- with the following options:
- [/ACCESSALERT:n] [/MAXSEARCHES:n]
- [/ALERTNAMES:userID[,...]] [/MAXSESSOPENS:n]
- [/ALERTSCHED:time] [/MAXSESSREQS:n]
- [/AUDITING:{YES | NO | event[,...]}] [/MAXSESSVCS:n]
- [/AUTODISCONNECT:time] [/MAXSHARES:n]
- [/AUTOPATH:pathname] [/MAXUSERS:n]
- [/AUTOPROFILE:{NONE | LOAD}] [/NOAUDITING:event[,...]]
- [/DISKALERT:n] [/NETIOALERT:n]
- [/ERRORALERT:n] [/NUMBIGBUF:n]
- [/GUESTACCT:name] [/NUMFILETASKS:n]
- [/LOGONALERT:n] [/NUMREQBUF:n]
- [/MAXAUDITLOG:n] [/SIZREQBUF:n]
- [/MAXCHDEVJOB:n] [/SRVANNDELTA:n]
- [/MAXCHDEVQ:n] [/SRVANNOUNCE:n]
- [/MAXCHDEVS:n] [/SRVHEURISTICS:string]
- [/MAXCONNECTIONS:n] [/SRVNETS:name]
- [/MAXLOCKS:n] [/SRVSERVICES:service[;...]]
- [/MAXOPENS:n]
-
-
- #3 NET START SERVER starts the Server service, which controls access
- to resources. When used without options, NET START SERVER starts
- the service using the values specified in the [server] section of the
- IBMLAN.INI file. An option typed from the command line overrides the
- value in the IBMLAN.INI file until the service is stopped.
-
- NET START SERVER also accepts NET START REQUESTER options.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $3
- /ACCESSALERT:number Specifies the number of permission
- violations that trigger an alert message
- to users in the alertname list.
-
- /ALERTNAMES:names Specifies users and groups who receive
- alert messages. Separate names with a
- comma or semicolon.
-
- /ALERTSCHED:time Sets the number of minutes between checks
- for alert conditions.
-
- /AUDITING:{YES | NO} Turns auditing on or off.
-
- /AUTODISCONNECT:time Tells how long (in minutes) a
- requester's session with the server can
- be idle before it is disconnected.
-
- /AUTOPATH:pathname Specifies the path to the profile that
- contains share information for the Remote IPL
- service. The path can be an absolute path
- beginning with a drive letter, a network path
- using a UNC name, or a filename relative to
- IBMLAN\PROFILES.
-
- /AUTOPROFILE:{NONE | LOAD} This parameter determines whether the profile
- specified by the AUTOPATH parameter is run
- when the Server service starts. NONE
- indicates the profile should not be run; LOAD
- indicates the profile should be run.
-
- /DISKALERT:number Sets the minimum number of free kilobytes
- that must be on the disk.
-
- /ERRORALERT:number Sets the number of consecutive network
- errors that trigger an alert message.
-
- /GUESTACCT:name Indicates the server's guest account.
-
- /LOGONALERT:number Sets the number of consecutive logon
- violations that trigger an alert message.
-
- /MAXAUDITLOG:number Is the maximum number (n) of kilobytes of
- the audit-trail file.
-
- /MAXCHDEVJOB:number Is the maximum number (n) of jobs that can
- be queued to all of the server's
- serial device queues.
-
- /MAXCHDEVQ:number Is the maximum number (n) of
- serial device queues on the server.
-
-
- /MAXCHDEVS:number Is the maximum number (n) of serial
- devices that can be shared on the server.
-
- /MAXCONNECTIONS:number Is the maximum number (n) of simultaneous
- connections to shared resources of the
- server.
-
- /MAXLOCKS:number Is the maximum number (n) of file locks
- the server can accommodate at one time.
-
- /MAXOPENS:number Is the maximum number (n) of shared files
- and devices that can be open
- simultaneously.
-
- /MAXSEARCHES:number Is the maximum number (n) of file searches
- the server can perform at one time.
-
- /MAXSESSOPENS:number Is the maximum number (n) of open files
- one session can have.
-
- /MAXSESSREQS:number Is the maximum number (n) of resource
- requests one requester can submit to the
- server.
-
- /MAXSESSVCS:number Is the maximum number (n) of sessions one
- requester can have to the server.
-
- /MAXSHARES:number Is the maximum number (n) of resources
- that can be shared simultaneously.
-
- /MAXUSERS:number Is the maximum number (n) of users who can
- use the server simultaneously.
-
- /NOAUDITING:event[,...] Cancels auditing for the named event(s) when
- /AUDITING is set to YES. Events that can be
- changed are LOGON, LOGONLIMIT, GOODSESSLOGON,
- BADSESSLOGON, SESSLOGON, NETLOGON,
- GOODNETLOGON, USE, GOODUSE, BADUSE, RESOURCE,
- USERLIST, PERMISSIONS, and SERVICE. If
- /AUDITING:NO is set, the value of /NOAUDITING
- is ignored.
-
- /NETIOALERT:number Is the number (n) of local area network
- input/output errors that trigger an alert.
-
- /NUMBIGBUF:number Is the number of big buffers the server
- uses.
-
- /NUMFILETASKS:number Is the number of file-worker threads the
- server has.
-
- /NUMREQBUF:number Is the maximum number of buffers (in
- addition to the big buffers) the server
- can have.
-
- /SIZREQBUF:number Is the maximum number of bytes for server
- buffers other than big buffers.
-
- /SRVANNDELTA:number Is the number of milliseconds to add to or
- subtract from the announce rate to help
- balance data traffic on the network.
-
- /SRVANNOUNCE:number Is the number of seconds between announcements.
-
- /SRVHEURISTICS:string Adjusts the heuristics string that tunes
- the performance of the server.
-
- /SRVNETS:name Lists the names of networks on which the
- server is working (from the [networks] section
- of IBMLAN.INI). Names are separated by commas.
-
- /SRVSERVICES:service Names the services to start when the
- Server service starts.
-
- .3 REQUESTER
- :3
- with the following options:
- [/CHARCOUNT:bytes] [/NUMSERVICES:n]
- [/CHARTIME:msec] [/NUMWORKBUF:n]
- [/CHARWAIT:sec] [/OTHDOMAINS:names]
- [/COMPUTERNAME:name] [/PRINTBUFTIME:sec]
- [/DOMAIN:name] [/SESSTIMEOUT:sec]
- [/KEEPCONN:sec] [/SIZCHARBUF:bytes]
- [/KEEPSEARCH:sec] [/SIZERROR:bytes]
- [/MAXERRORLOG:kbytes] [/SIZWORKBUF:bytes]
- [/MAXWRKCACHE:kbytes] [/WRKHEURISTICS:string]
- [/NUMALERTS:n] [/WRKNETS:names]
- [/NUMCHARBUF:n] [/WRKSERVICES:list]
- [/NUMDGRAMBUF:n]
-
- #3 NET START REQUESTER starts the Requester service, which enables your
- computer to use shared resources on the network. When used without
- options, NET START REQUESTER starts the service using the values
- specified in the [requester] section of the IBMLAN.INI file. An option
- typed from the command line overrides the value in the IBMLAN.INI file
- until the service is stopped.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $3
- /CHARCOUNT:bytes Specifies the amount of data the requester
- collects before sending it to a serial
- device. The range is 0 through 65535.
- The default is 16.
-
- /CHARTIME:msec Specifies the number of milliseconds the
- requester collects data before sending it to a
- communication service. The range is -1 (never)
- through 65535000. The default is 250.
-
- /CHARWAIT:sec Specifies the number of seconds the requester
- waits for serial device to become available.
- The range is 0 through 65535. The default is 3600.
-
- /COMPUTERNAME:name Is the requester's name, or machine ID. The range
- is 1-15 characters.
-
- /DOMAIN:name Is the requester domain. The range is 1-15 characters.
-
- /KEEPCONN:sec Specifies the number of seconds the requester
- maintains an implicit UNC connection you're not using.
- Unused connections are broken after this interval is
- reached. The range is 1 through 65535. The default
- is 600.
-
- /KEEPSEARCH:sec Specifies the number of seconds the requester
- maintains a directory search request. Directory
- search requests are discarded after this interval
- is reached. The range is 1 through 65535. The
- default is 600.
-
- /MAXERRORLOG:kbytes Specifies the size in kilobytes of the error log
- on your hard disk. The range is 2 through the
- total disk size. The default is 100.
-
- /MAXWRKCACHE:kbytes Specifies the amount of memory in kilobytes set
- aside for large transfers of data. The range is
- 0-640. The default is 64.
-
- /NUMALERTS:number Specifies the number of program tasks that can
- wait for an alert condition. The range is 3-256.
- The default is 12.
-
- /NUMCHARBUF:number Specifies the number of character and pipe
- buffers the requester uses. The range is
- 0-15. The default is 10.
-
- /NUMDGRAMBUF:n Is the number of buffers available for
- receiving information (datagrams). The value you
- set for /NUMDGRAMBUF is the number of buffers
- available for each network listed in the /WRKNETS
- entry. The range is 8-112; the default is
- 14 buffers.
-
- /NUMSERVICES:number Specifies the maximum number of services the
- requester can run simultaneously. The range is
- 4-256. The default is 12.
-
- /NUMWORKBUF:number Specifies the number of buffers the requester
- uses. The range is 3-50. The default is 15.
-
- /OTHDOMAINS:names Lists as many as four other domains in which
- the requester can view servers and receive
- messages. Names are separated by commas.
-
- /PRINTBUFTIME:sec Is the number of seconds the PRN: print device is
- kept open (for compatibility-mode print
- requests). Most applications that use OS/2
- compatibility mode do not explicitly close the
- PRN: print device to tell OS/2 to send the
- contents of the print buffer to the printer
- queue. The range is 0-65535; the default is
- 90 seconds.
-
- /SESSTIMEOUT:sec Specifies the number of seconds the requester
- maintains a connection to a server that isn't
- responding. The range is 10 through 65535.
- The default is 45.
-
- /SIZCHARBUF:bytes Specifies the size in bytes of each character and
- pipe buffer. The range is 64-4096. The default is
- 512.
-
- /SIZERROR:bytes Specifies the size in bytes of the requester's
- internal error buffer. The range is 256-4096. The
- default is 1024.
-
- /SIZWORKBUF:bytes Specifies the size in bytes of each requester
- buffer. The range is 1024-16384. The default is
- 4096.
-
- /WRKHEURISTICS:string A variety of fine-tune settings for the
- requester's performance.
-
- /WRKNETS:names Specifies the network(s) the requester is a
- part of (from the [networks] section of
- IBMLAN.INI). Names are separated by commas.
-
- /WRKSERVICES:list Lists services that start automatically
- when the Requester service starts
- (from the [services] section of IBMLAN.INI).
- Names are separated by commas.
-
- .3 TIMESOURCE
- :3
- #3 NET START TIMESOURCE starts the Timesource service, which designates a
- server as the time source for the domain.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $3
- There are no options for this command.
-
- .3 UPS
- :3 [/BATTERYMSG:seconds]
- [/BATTERYTIME:seconds]
- [/CMDFILE:pathname]
- [/CMDTIMER:nnn]
- [/LOWBATTERY:WARNING|SHUTDOWN|DISABLE]
- [/MESSDELAY:seconds]
- [/MESSTIME:seconds]
- [/RECHARGE:minutes]
- [/SIGNALS:###]
- [/VOLTLEVELS:###]
- #3 NET START UPS starts the LAN Server UPS (uninterruptible power supply)
- service, which is used with a battery to protect a server from data loss
- during a power failure. When used without options, NET START UPS starts
- the service using the default values specified in the [ups] section of the
- IBMLAN.INI file. An option typed from the command line overrides the value
- in the IBMLAN.INI file until the service is stopped.
-
- During a power failure, the UPS service provides for an orderly shutdown
- of a server. The UPS service pauses the Server service and waits for an
- interval of time. If the main power is not restored, users are instructed
- to disconnect from the server (if they have power). Then the UPS service
- stops all LAN Server services and writes all data in cache memory to
- permanent storage.
-
- This command only works on servers.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $3
- /BATTERYMSG:seconds
- Is the number of seconds between messages sent when
- the battery power is low, but the AC line current
- is satisfactory. This parameter is valid only
- when /LOWBATTERY is set to WARNING. The range is
- 30 to 3600 (30 seconds to 1 hour); the default is
- 600 seconds (10 minutes).
-
- /BATTERYTIME:seconds Is the number of seconds the server can run on a
- battery before the UPS service initiates shutdown.
- This entry is relevant only if the low battery signal
- is unavailable. The range is 0-28800; the default is
- 60 seconds.
-
- /CMDFILE:pathname Is the pathname for the .CMD file to be run before the
- network services are shut down. The pathname can be
- absolute or relative to the IBMLAN directory. There
- is no default, implying no .CMD file should be run.
-
- /CMDTIMER:nnn Specifies the number of seconds the UPS service will
- give the .CMD file to complete. The range is 0 to 600
- seconds. The default is 30. (If the .CMD file does
- not finish execution within the specified number of
- seconds, an error will be logged.)
-
- /LOWBATTERY:WARNING|SHUTDOWN|DISABLE
- Specifies the response of the UPS service if the UPS
- signals that its battery power is low but AC line
- current is satisfactory. If /LOWBATTERY is set to
- WARNING, the UPS service generates a message,
- identifying the affected server. If /LOWBATTERY is
- set to SHUTDOWN, the UPS service shuts down the
- affected server after warning the server's local user,
- alert recipients, and users having active sessions
- with the server. If /LOWBATTERY is set to DISABLE,
- the event is recorded in the error log and no alert
- is generated.
-
- /MESSDELAY:seconds Is the number of seconds between initial power
- failure and the first message sent to the user. No
- messages are sent if power is restored within this
- amount of time. The range is 0-120; the default is
- 5 seconds.
-
- /MESSTIME:seconds Is the number of seconds between messages sent to
- users notifying them of a continued power failure.
- The range is 30-300; the default is 120 seconds.
-
- /RECHARGE:minutes Is the number of minutes of recharge time required
- for each minute of battery runtime. This entry is
- optional depending on the battery specification.
- The range is 5-250; the default is 100 minutes.
-
- /SIGNALS:### Specifies the signals available from the battery.
- This is a 3-digit value:
- ■ The first digit is 1 (the default) if the battery
- can signal the UPS service upon power failure, or
- 0 if it cannot.
- ■ The second digit is 0 (the default) if the battery
- does not signal the UPS service about low power,
- and 1 if it signals when a specified amount, such
- as 2 minutes worth, of power remains.
- ■ The third digit is 1 if the battery accepts a
- shutdown signal from the UPS service, and 0
- (the default) if it does not. If the third digit
- is 1, the UPS service does an orderly shutdown of
- the LAN Server software, and then the battery
- stops providing backup power to the computer. When
- the battery detects power restoration, it restarts
- the computer.
-
- /VOLTLEVELS:### Specifies the voltage levels for the signals listed
- in the /SIGNALS entry. This is a 3-digit value:
- ■ The first digit is 0 if the battery uses a negative
- voltage to signal the UPS service of a power
- failure, and 1 (the default) if it uses a positive
- voltage.
- ■ The second digit is 0 (the default) if the battery
- uses a negative voltage to signal the UPS service
- that it has less than 2 minutes of power remaining,
- and 1 if it uses a positive voltage.
- ■ The third digit is 0 (the default) if the battery
- recognizes a negative voltage as the shutoff
- signal, or 1 if it recognizes a positive voltage
- as the shutoff signal.
-
- Note that the /BATTERYTIME, /RECHARGE, /SIGNALS, and /VOLTLEVELS options
- should be configured based on the power supply specification.
- :2 [service [options]]
- #2 NET START starts various services or displays a list of
- started services. When used without options, NET START lists running
- services. If none are started, the user is prompted to start the
- Requester service.
-
- To get more help about starting a specific service, type
- NET HELP START service.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- service Is one of the following LAN Requester or LAN Server services:
- ■ ALERTER ■ PEER
- ■ DCDBREPL ■ REMOTEBOOT
- ■ GENALERT ■ REPLICATOR
- ■ LSSERVER ■ REQUESTER
- ■ MESSENGER ■ SERVER
- ■ NETLOGON ■ TIMESOURCE
- ■ NETRUN ■ UPS
-
- options Are specific to the service. Options for services can have
- permanent values assigned in the IBMLAN.INI file. An option on
- the command line overrides the value in the IBMLAN.INI file
- until the service is stopped.
-
- .2 STATISTICS
- :2
- For a requester:
- NET STATISTICS [REQUESTER [/CLEAR]]
-
- For a server:
- NET STATISTICS [REQUESTER | SERVER [/CLEAR]]
-
- For a requester running the Peer service:
- NET STATISTICS [REQUESTER | PEER [/CLEAR]]
- #2 NET STATISTICS displays and clears a list of statistics for requester
- or server functions on a computer. When used without options, it displays
- a list of services for which statistics are available.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- REQUESTER Displays requester statistics.
-
- SERVER Displays server statistics.
-
- PEER Displays statistics for the Peer service.
-
- /CLEAR Clears the statistics log.
-
- .2 STATUS
- :2
- #2 NET STATUS displays configuration settings and shared resources for the
- local server.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- There are no options for this command.
-
- .2 STOP
- :2 service
- #2 NET STOP stops services. Stopping a service cancels any network connections
- the service is using. Also, some services are dependent on others. Stopping
- one service can stop others.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- service Is one of the following LAN Requester or LAN Server services:
- ■ ALERTER ■ PEER
- ■ DCDBREPL ■ REMOTEBOOT
- ■ GENALERT ■ REPLICATOR
- ■ LSSERVER ■ REQUESTER
- ■ MESSENGER ■ SERVER
- ■ NETLOGON ■ TIMESOURCE
- ■ NETRUN ■ UPS
-
- .2 TIME
- :2 [\\machineID | /DOMAIN[:name]] [/SET [/YES | /NO]]
- [/DATE:date] [/TIME:time] [/DOMAIN:name]
- #2 NET TIME synchronizes the requester's clock with that of a server or
- domain, or displays the time for a server or domain. It also sets
- the clock at the specified domain controller and synchronizes the
- clocks of all the additional servers with that of the specified
- domain.
-
- Typing NET TIME without options displays the current date and time
- of the domain.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- \\machineID Is the name of the server whose time you want to view or
- synchronize with.
-
- /DOMAIN[:name] Is the server that controls domain activity in your
- requester domain. Use name to specify a different
- domain.
- /DATE:date Sets the date at the specified domain controller and
- synchronizes the clocks of all active additional servers
- with that of the specified domain.
-
- /TIME:time Sets the time at the specified domain controller and
- synchronizes the clocks of all active additional servers
- with that of the specified domain.
-
- /SET Synchronizes the requester's clock with that of the
- specified domain.
-
- /YES Synchronizes the requester's clock without displaying
- a prompt.
-
- /NO Does not synchronize the requester's clock. No prompt
- is displayed.
- .2 USE
- :2 [device | \\machineID\netname]
- NET USE device {\\machineID\netname | alias} [password] [/COMM]
- NET USE {device | \\machineID\netname} /DELETE
- #2 NET USE connects a requester to shared resources, disconnects a
- requester from shared resources, or displays information about network
- connections.
-
- Typing NET USE without options lists the requester's connections.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- alias A name that has been assigned to a shared resource.
-
- device Assigns a name to connect to the resource. There are
- three kinds of devices: disk drives (A: through
- Z:), printer ports (LPT1: through LPT9:), and
- serial device ports (COM1: through COM9:).
-
- \\machineID Is the machine ID of the server controlling the shared
- resource.
-
- \netname Is the name of the shared resource, or netname.
-
- password Is the password for connecting to resources on a server
- running share-level security or on another domain where
- your user ID is defined with a different password.
- You can type an asterisk (*) instead of the password to be
- prompted for the password. The password will not be
- displayed when you type it.
-
- /COMM Specifies that an LPT device is to be connected to a
- serial device (non-spooled) queue.
-
- /DELETE Removes a network connection.
-
-
-
- .2 USER
- :2 [userID] [password] [options]
- NET USER [userID] [password] [/ADD] [options]
- NET USER userID [/DELETE]
- NET USER userID [/ASSIGN {device:alias[,device:alias] |
- PUBLIC:appid[,PUBLIC:appid] |
- PRIVATE:appid,[PRIVATE:appid]}
- NET USER userid [/UNASSIGN {device:alias[,device:alias] |
- PUBLIC:appid[,PUBLIC:appid] |
- PRIVATE:appid[,PRIVATE:appid] |
- LOGASN:ALL | PUBLIC:ALL | PRIVATE:ALL}
- #2 NET USER lists, adds, removes, and modifies user accounts on servers
- with user-level security. The NET USER command sets up part of the user
- accounts system database for domains with user-level security.
- The database is stored in the IBMLAN\ACCOUNTS\NET.ACC file. The NET USER
- command also adds and removes logon and application assignments for users
- defined to a domain.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- userID Is the user account (up to 20 characters) to be added,
- deleted, or modified. To see information about a user's
- account, type NET USER userID.
-
- password | *
- Assigns or changes a password (which can have as many as 14
- characters) for the user's account. The user can later
- choose a different password. A password must satisfy any
- minimum length set with the /MINPWLEN option of NET ACCOUNTS.
- An asterisk (*) produces a prompt for the password. The
- password will not be displayed when you type it.
-
- /DELETE Removes a user's account from the user accounts system
- database on the domain.
-
- /ADD Adds a user account to the user accounts system database on
- the domain.
-
- options Are useful when adding or modifying user accounts. They are
- the following:
-
- Options Description
- ------------------ ------------------------------------------
- /ACTIVE:{NO | YES} Disables or activates the account. If the
- account is not active, the user cannot
- access the server. The default is active
- (yes).
-
- /ASSIGN {device:alias | Indicates that the list of items following
- PRIVATE:appid | the /ASSIGN parameter are to be assigned to
- PUBLIC:appid} the specified user ID. The list of items
- should be separated by commas. There should
- not be any spaces in the list.
-
- For example, to add a logon assignment and
- two application assignments for a user, the
- list following the /ASSIGN parameter might be:
-
- H:HOMEDIR,PUBLIC:MYAPP,PRIVATE:ADOSAPP
-
- device:alias Specifies the alias to be assigned to the user
- at logon time and the device that is to be
- redirected to that alias. If the alias is
- a files alias, '*' may be specified instead
- of a drive letter to indicate that the next
- available drive is to be used. The alias
- must already be defined in the domain control
- database. The connection to the specified
- alias is not made until the next time the
- user logs on.
-
- PUBLIC:appid Specifies that the indicated application
- definition is to be assigned to the user.
- The application definition must be an existing
- public application definition. The application
- will not appear on the user's desktop until
- the next time the user logs on.
-
- PRIVATE:appid Specifies that the indicated application
- definition is to be assigned to the user.
- The application definition must be one of
- the user's existing private application
- definitions. The application will not
- appear on the user's desktop until the next
- time the user logs on.
-
- /COMMENT:"text" Provides a descriptive comment about the
- user's account (maximum of 48 characters).
- Enclose the text in quotation marks.
-
- /COUNTRYCODE:number Uses the operating system country codes to
- implement the desired language files for a
- user's help and error messages. A value of
- 0 signifies the default country code.
-
- /EXPIRES:{date | NEVER} Causes the account to expire if date is
- set. NEVER sets no time limit on the
- account. An expiration date is in the
- form mm/dd/yy or dd/mm/yy, depending on the
- country code. Months can be a number,
- spelled out, or abbreviated with three
- letters. Year can be two or four numbers.
- Use slashes(/) (no spaces) to separate
- parts of the date.
-
- /FULLNAME:"name" Is a user's full name (rather than a
- userID). Enclose the name in quotation
- marks.
-
- /HOMEDIR:string Is the string specifying the path to the user's
- home directory. This string can take one of
- two forms. The first form defines the drive
- of the user that will be assigned to the
- home directory:
- x:\machineID\y$\pathname
- where x is the drive letter to be assigned,
- machineID is the name of the server which
- holds the home directory, y is the drive
- letter on the server where the home directory
- exists, and pathname is the remaining path
- to the directory.
-
- The second form defines a first available
- drive specification for the home directory:
- \\machineID\y$\pathname
- where machineID, y, and pathname are defined
- as above.
-
- To define a home directory at the root of
- a server's drive, omit \pathname from either
- of the forms above.
-
- It is very important to ensure that this field
- follows the correct format or users may not
- get their home directory at logon time. An
- access control profile must also be created,
- giving users access to the home directory.
-
- /LOGONSERVER:\\servername Sets the name of the preferred server that
- will validate logon requests for this user.
- The server name should be preceeded by a
- double backslash (\\) and should be the name
- of a domain controller or backup server on
- the domain. A server name of an asterisk
- (\\*) is the default and indicates that the
- logon request can be handled by any domain
- controller or backup on the domain.
- Specifying /LOGONSERVER:"" indicates that
- the domain controller is the preferred logon
- server.
-
- /SCRIPT:pathname Specifies a command file to be run when the
- user logs on. The file specified by pathname
- can have the extension .CMD, .EXE, .BAT, or
- .PRO. If the file name extension is not
- specified, it is assumed to be either .CMD
- or .BAT. The path name must be relative to
- the directory specified by the SCRIPTS
- parameter in the [netlogon] section of the
- IBMLAN.INI file. The default scripts
- directory is C:\IBMLAN\REPL\IMPORT\SCRIPTS.
-
- /MAXSTORAGE:{number | UNLIMITED}
- Sets the maximum amount of storage in
- kilobytes for a user's home directory.
- The default is UNLIMITED. If you plan to use
- the CHKSTOR utility to check home directory
- storage, you must set /MAXSTORAGE to a number.
-
- /OPERATOR:list[,...] Enables a user to perform limited
- administrative functions. Operator privileges
- enable a user to view and
- change settings for various "admin-only"
- resources. (A blank value withholds
- operator privileges.) Separate entries in
- the list with commas. The privileges are:
-
- Privilege Allows you to
- ───────── ─────────────────────────────────────────────────
- ACCOUNTS Add, delete, and modify user accounts, and update
- logon requirements for the user accounts database,
- but not grant administrative privilege or assign
- operator privilege.
-
- COMM Control shared communication-device queues.
-
- PRINT Control shared printer queues.
-
- SERVER Control shared resources on a server, read and clear
- the error log, close sessions and files that are open.
-
- /PASSWORDCHG:{YES | NO} Specifies whether users can change their
- own password. The default is YES.
-
- /PASSWORDREQ:{YES | NO} Specifies whether a password is required for
- this user account.
-
- YES means that a password is required.
-
- NO means that a password is not required, but
- may be used. The password restriction of
- MINPWLEN is applied to any password that is
- used.
-
- NO also means that other password restrictions
- such as MINPWAGE, MAXPWAGE, UNIQUEPW, and
- PASSWORDCHG will not be applied to this
- account.
-
- If you are changing the setting from
- /PASSWORDREQ:Y to /PASSWORDREQ:N to cancel
- password requirements for a user, note that the
- /PASSWORDREQ:N setting does not automatically
- delete the user's password. See the NET
- PASSWORD section of the "OS/2 LAN Commands and
- Utilities" for information on nullifying the
- password.
-
- /PASSWORDEXP:{YES | NO} Specifies whether the users password is to
- be marked as expired. The default is NO.
-
- /PRIVILEGE:priv Assigns the user's privilege level. Priv
- is GUEST, USER, or ADMIN. Privilege level
- affects an account's default rights to
- access resources. The default is user.
-
- /TIMES:{times | ALL | ""} Specifies the logon hours. TIMES is
- expressed as day[-day], time[-time],
- limited to 1-hour time increments. Days
- can be spelled out or abbreviated.
- Hours can be 12- or 24-hour notation. For
- 12-hour notation, use am, pm, or a.m.,
- p.m., upper or lower case; hours may be
- digits or full time (for example, 9:00).
- With 24-hour notation, use full time (for
- example, 12:00-24:00). Separate multiple
- day/hour entries with semicolons. A null
- string ("") means a user can never log on,
- and ALL means a user can always log on.
-
- /UNASSIGN:{device:alias | Indicates that the list of items following
- PRIVATE:appid | the /UNASSIGN parameter are to be removed as
- PUBLIC:appid | assignments for the specified user. The items
- LOGASN:ALL | in the list should be separated by commas.
- PRIVATE:ALL | The list should not contain any spaces.
- PUBLIC:ALL}
- For example, to remove all of a user's public
- application assignments and two logon
- assignments, the list following the /UNASSIGN
- switch might be:
-
- X:FALIAS,PUBLIC:ALL,LPT3:LASERPRT
-
- LOGASN:ALL Indicates that all of the user's logon
- assignments are to be deleted. The deletion
- does not take effect until the next time the
- user logs on.
-
- PRIVATE:ALL Indicates that all of a user's private
- application assignments are to be deleted.
- The deletion does not take effect until the
- next time the user logs on.
-
- PUBLIC:ALL Indicates that all of a user's public
- application assignments are to be deleted.
- The deletion does not take effect until the
- next time the user logs on.
- /USERCOMMENT:"text" Is available for a user to add a comment
- to the logon account.
-
- /WORKSTATIONS: Lists requesters a user can log in from.
- {machineID[,...] | *} Separate entries in the list of valid
- machine ID's with commas. If requester
- has no list, or if the list is * or null
- (""), the user can log in from any
- requester.
-
- .2 VIEW
- :2 [\\machineID]
- #2 NET VIEW displays a list of servers, or a list of resources being shared
- by a server.
-
- Typing NET VIEW without options displays a list of servers in your
- startup domain, logon domain and other domains specified in the
- /OTHDOMAINS= entry of the IBMLAN.INI file.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- \\machineID Specifies a server whose shared resources you want to
- view.
-
- .2 WHO
- :2 [/DOMAIN:name | \\machineID | userID]
- #2 NET WHO displays user ID's logged on to a domain, a server or a
- requester.
-
- Typing NET WHO without options displays information about users on the
- logon domain.
-
- See the "OS/2 LAN Commands and Utilities" for more information about
- this command.
-
- To get Help one screen at a time, type NET HELP command | MORE.
- $2
- userID Is the name of the user you want information about.
-
- \\machineID Is the name of the server or requester whose users you
- want information about.
-
- /DOMAIN:name Is the domain (other than the domain you're logged on
- to) whose users you want information about.
-
- :1
- #1
- $1
-
- Verify that you typed the command correctly.
-
- :0
- #0