How to restrict ftpusers in AIX to home directory?

I need to know how to restrict the ftpusers within their home directory in AIX 7.1

For example for ftpuser nonoftp I have tried putting this entry to /etc/ftpaccess.ctl and refreshed inetd but the directory listing unsuccessful error comes with the entry. Without the ftpaccess.ctl file ftp users can login and go to his home directory but can also go outside of it.

I put the entry like this on the ftpaccess.ctl file which will have 555 permission and owned by root:system

useronly:nonoftp
readwrite:home directory path

Any idea how I can achieve it?

Thanks

I'm not sure you can achieve that with the base ftp setup on AIX. You could try installing vsftp or other ftp servers that will allow you to chroot ftp users.

You dont tell us what the user is supposed to do...
Depending of options, ever considered to set the shell in /etc/passwd to /usr/bin/false ( radical ) or more soft but as its name is - Restricted: /usr/bin/rksh or any pther restricted valid shell ( look in the file /etc/shells... if not present you might have to search if you have the shell then update the file...)
If that is not an option then as mentionned above a chroot is what I see...