Enters basic BNU configuration information.
The uucpadm command provides interactive entry and modification of basic BNU configuration information in the Devices, Systems, Permissions, Poll, and Dialcodes files in the /etc/uucp directory. You can use the uucpadm command repeatedly to adjust the same file.
When you enter the uucpadm command at the command line, the command displays a list of the files you can change. After you choose a file to modify, the command displays a vertical list of the names of the fields in that file. You can enter the appropriate entry in each field. When you press the Enter key, the cursor moves to the next field in the list.
The command uses a copy of a file to record changes. The original file remains unchanged until you press the Ctrl-U or Ctrl-X key sequence at the appropriate menu. You can exit to the main uucpadm menu at any time, without saving your changes, by using the Ctrl-D key sequence.
The help routine provides instructions for each data field. Enter a ? (question mark) in any menu field to access the help routine for that field.
Enter a ~ (tilde) in any field to enter an ASCII editor and edit the appropriate file for that field. The uucpadm command invokes the editor designated by the EDITOR environmental variable. If the EDITOR variable is not defined, the command invokes the vi editor.
If your entry for the first menu item matches an existing record, the uucpadm command retrieves that record for update. The command also tells you how many records have that first entry. If your entry for the first menu item does not match any existing record, the uucpadm command displays the word ADD at the top of the screen.
The uucpadm command checks the data as you enter it. If an inconsistency among the files is found, the command displays a warning message.
If the uucpadm command recognizes the entry you make for the first menu item, it fills in the default values for the remaining fields. For example, if you enter TCP as the Type in the Devices file menu, the command places a - (hyphen) in each remaining field for you. It also checks for consistency with other files and for processes that should be running on the system. For example, when you enter TCP as the Type in the Devices file menu, the uucpadm command checks to see if the uucpd daemon is running. If the daemon is not running, the command displays a note after the Type field, as follows:
Type: TCP <Note: Make certain uucpd is enabled.> Line1: -
Note: The uucpadm command does not edit the /etc/uucp/Dialers file. Use an ASCII editor to edit this file.
A menu listing the files you can change is displayed.
Type: merlin line1: tty3 line2: - class: 9600 dialers: direct
Name: nostromo.aus.ibm.com Time: Any Type: ACU Class: 2400 Phone: 997-7942 Login: nuucp Password: gotcha
L/M: LOGNAME=uucpz Request: yes Sendfiles: yes Read: / Write: NOWRITE=/etc Callback: Commands: Validate: merlin:nostromo
If the remote machine is merlin or nostromo, the login ID must be uucpz (VALIDATE option). Remote hosts using this ID can Request to send files, and the local host can Sendfiles as requested. Users with this ID can read all files with permissions granted to the others group, and can write to all files, except those in the /etc directory, with permissions granted to the others group.
L/M: MACHINE=merlin Request: yes Sendfiles: Read: NOREAD=/etc Write: NOWRITE=/etc Callback: Commands: ALL Validate:
The machine ID is merlin. Requests for file transfers can be made. The user can read all files and can write to all files except those in the /etc directory. The execution of all commands is permitted.
System: merlin Hours: 0 7 13 19
This entry instructs BNU to poll the merlin.aus.ibm.com system at 2400 hours (midnight), 700 hours (7 a.m.), 1300 hours (1 p.m.), and 1900 hours (7 p.m.).
Abr: LA Dialcode: 1-213-
This entry assigns LA as the abbreviation for the Los Angeles area code.
|/usr/sbin/uucp/uucpadm||Contains the uucpadm command.|
|/etc/uucp/Devices||Contains information about available devices.|
|/etc/uucp/Dialcodes||Contains dialing code abbreviations.|
|/etc/uucp/Dialers||Specifies initial handshaking on a connection.|
|/etc/uucp/Permissions||Describes access permissions for remote systems.|
|/etc/uucp/Poll||Specifies when BNU polls remote systems to initiate tasks.|
|/etc/uucp/Systems||Describes accessible remote systems.|
The uucp command, uuname command.
The uucheck command checks the /etc/uucp/Permissions file for correct configuration.
Example of a BNU Configuration for a Telephone Connection, Example of a BNU Configuration for a TCP/IP Connection, and Example of a BNU Configuration for a Direct Connection in AIX 5L Version 5.1 System Management Guide: Communications and Networks.
Understanding the BNU File and Directory Structure in AIX 5L Version 5.1 System Management Guide: Communications and Networks.
How to Configure BNU in AIX 5L Version 5.1 System Management Guide: Communications and Networks.