Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

chroot FTP

Status
Not open for further replies.

imad77

Instructor
Oct 18, 2008
97
CA
Hi,

I want to setup chroot FTP in AIX 5.3 server. The created user should access to FTP server and can not browse the directories via the FTP client tool.

Have you any suggestion to perform that in AIX? I know jhow to perform it in redHat and it's very easy to do it in redHat but I need help to do it in AIX.

Thanks a lot.
 
Hi,

I created this file /etc/ftpaccess.ctl and I added this lines:

puseronly:test
readwrite:/home/test

When I try to connect with account test from Putty, I,m able to list the content of the chrooted directory.

But when i try to connect it via a GUI FTP client, I cannot list the directory but I'm able to write on it by upload some files from my XP station to this FTP.

Is it a problem related to permissions?

Thanks a lot.
 
Hi,

I want to setup chroot FTP in AIX 5.3 server. The created user "test"
should access to this FTP server and should browse his home directory
and not the other directories via the FTP client tool.


I created this file /etc/ftpaccess.ctl and I added this lines:


puseronly:test
readwrite:/home/test


When I try to connect with this account "test" from the AIX server,
I'm able to list the content of the chrooted directory.


But when I try to connect to this FTP server via a GUI FTP client from
my XP station, I cannot list the directory content, but I'm able to
put some files to this directory by uploading some files from my XP
station to this chrooted FTP.


How can I be able to list the chrooted file from a GUI FTP client
tool?


Thanks a lot.


 
imad77,

Sorry you didn't get a response from the community but a quick search in the forum of FTP or chroot would have turned up the info you were looking for.

[morning] needcoffee
 
also have a look to /usr/samples/tcpip/anon.users.ftp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top