IBM AS/400e Computer Hardware User Manual


 
1. Use the MKDIR command with an argument of /netpc to create the directory
/netpc, as follows:
MKDIR (netpc)
2. Specify the WRKLNK command with an argument of /netpc, as follows:
WRKLNK (netpc)
3. Specify option 9 to display the current authorities.
4. For the *PUBLIC user, specify option 2,
Change user authority
, and specify
*NONE for
New data authorities
. This ensures that the file is not open to the
public.
5. To add a user on the
Work with Authority
menu, specify the following on the first
line: 1 for
Opt
, QTFTP for
User
, and *RX for
Data Authority
. Press Enter.
6. Press the PF5 key to refresh the menu. You see the userid *PUBLIC with a data
authority of *EXCLUDE, the userid QTFTP with a data authority of *RX, and your
own userid with a data authority of *RWX.
Use the MKDIR command to create the following directories:
/netpc/bin
/netpc/bin/system
Each directory inherits the authority of the parent directory and has the owner
added implicitly as a user with *RWX authority. Copy any files that the client
requests to the netpc/bin/system subdirectory. You can copy the files in various
ways, such as using the COPY command, FTP, or Client Access/400. You must
ensure that the QTFTP profile has *R authority to each file that the client
requests. To set the authorities for the files, use the WRKLNK command and
option 9,
Work with Authority
.
7. Specify the CHGTFTPA command and press the PF4 key.
8. Change the Alternate source directory to /netpc/bin/system and press Enter.
This allows the TFTP server to request any file with the appropriate authority
settings, including the directory /netpc/bin/system in its path.
9. To have the changes take effect, stop the TFTP server with ENDTCPSVR *TFTP
and restart it by using STRTCPSVR *TFTP.
390 OS/400 TCP/IP Configuration and Reference V4R4