16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Examples<br />

Usage notes<br />

Localization<br />

Files<br />

Exit Values<br />

Portability<br />

To run all of the commands requested by the remote site north:<br />

uuxqt –s north<br />

1. The uuxqt command is a security risk on all sites, because it allows outside<br />

access to your computer. UUCP limits the danger by setting execute<br />

permissions for every site in the configuration file. See the topic on Permissions<br />

files in z/<strong>OS</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> Planning for more information.<br />

2. uuxqt checks the command requests from each site against the list of allowed<br />

commands and either runs them or sends a mail message that says:<br />

Permission denied<br />

uuxqt does not use localization environment variables.<br />

uuxqt uses the following files:<br />

/usr/lib/uucp/config<br />

UUCP configuration file<br />

/usr/spool/uucp/.Xqtdir<br />

This file contains permissions for UUCP sites.<br />

/usr/spool/uucp/.Sequence/sitename<br />

Sequence file containing the four-digit sequence number of the last job<br />

queued. If uuxqt requires a sequence number (for example, to mail a<br />

message), it is based on the value in this file. If this file does not exist,<br />

uuxqt creates it with the sequence number 0000. sitename is the name of a<br />

remote site; each remote site has its own sequence file.<br />

/usr/spool/uucp/site<br />

Subdirectory containing commands from the UUCP host site (as well as all<br />

work files and data files associated with site). The format of the execute<br />

files is described in uucp.<br />

/usr/spool/uucp/.Xqtdir<br />

Working directory for uuxqt. All required files are copied here before uuxqt<br />

runs a command.<br />

0 Successful completion<br />

1 Failure because of any of the following:<br />

v Argument list too long<br />

v Unable to open log file<br />

v Insufficient memory<br />

v Ctrl-C interrupt<br />

2 Unknown command-line option<br />

X/Open Portability Guide<br />

uuxqt daemon<br />

Some UUCP systems produce execute files with command lines that are not<br />

supported by uuxqt.<br />

Chapter 2. Shell command descriptions 757

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!