Environment
NetIQ Security Solutions for iSeries
PSSecure
Remote Request Management (RRM)
Situation
Can exit point QIBM_QTMF_SVR_LOGON, format TCPL0200 be used to define a specific directory for an FTP user?
How do you set a user's initial directory path?
Resolution
The actual setting of someone being able to login and be in a specific directory, is an IBM function based on a combination of the FTP Attributes and the attributes of the individual user profile.
On a command line, type:
1) WRKUSRPRF and F4 Prompt it.
2) Set the following:
a. CURRENT DIR to the Library you want to start in.
b. HOMEDIR to the IFS folder you want to start in.
In order to be able to use the HOMEDIR:
1) CHGFTPA AUTOSTART(*YES) NAMEFMT(*PATH) CURDIR(*HOMEDIR)
2) ENDTCPSVR *FTP
3) STRTCPSVR *FTP
Additional Information
You should also secure the exit point over QIBM_QTMF_SVR_LOGON TCPL0200 *YES. And only allow those users you wish to be able to ftp in through the use of secured entries. More information on TCPL0200 can be found in the following KB:
You will need to remove the exit program from format TCPL0100 before you are able to add it to TCPL0200.