L.cmds(5)
Name
L.cmds − allowable remote execution commands
Syntax
/usr/lib/uucp/L.cmds
Description
The uucp utility uses the L.cmds file to determine which commands can be executed by remote systems with the uux() command. The uucp utility first looks in the USERFILE file to find the execution level defined there for the remote system. Then, uucp looks in the L.cmds file. The remote system can execute any command whose execution level as defined in L.cmds is less than or equal to the execution level for the system as defined in USERFILE. The format of the L.cmds file is:
command X#
commandAn ULTRIX system command or application program.
X#The execution level associated with command. The number # can range from 0 through 9. If the X field is omitted, then 9 is the default. If X is specified but # is omitted, then 0 is the default, enabling any system to use this command.
You can also specify a line in the L.cmds file to define the paths used to search for commands:
PATH=path1:path2:...
path1The first directory examined for commands.
path2The second directory examined for commands.
.
.
.
Examples
This example allows remote systems defined in the local system’s USERFILE with an execution level of 1 or higher to execute the commands rmail and rnews. Only remote systems with an execution level of 9 would be able to execute uux.
rmail X1
rnews X1
uux X9
See Also
USERFILE(5), uux(1c)
Guide to the uucp Utility