This is a discussion on Restrict non-anonymous from change directory outside "home" within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> I had create this user account mainly for FTP use. I had already setup FTPD with ftpaccess functionality. The ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I had create this user account mainly for FTP use. I had already setup FTPD with ftpaccess functionality. The following is the content of my /etc/ftpd/ftpaccess #===== class local real *.mydomain.com class outsider real !*.mydomain.com loginfails 3 banner /etc/ftpd/banner.msg greeting terse noretrieve /etc/passwd core upload class=local / * no upload class=local /files/upload/ * yes guser itstaff 0660 nodirs #====== There is numerous subdirectories within /files/upload, which this user can change directory to, but I am having problem restrict this user from exit outside /files/upload. It currently able to even able to cd to / (root) and perform dir listing. Anyone able to help me?? |
| |||
| Hi Ultra > There is numerous subdirectories within /files/upload, which this user > can change directory to, but I am having problem restrict this user > from exit outside /files/upload. It currently able to even able to cd > to / (root) and perform dir listing. Look for "anonymous ftp" and "chroot" command in your favourite search machine. Florian |