Topic
  • 12 replies
  • Latest Post - ‏2012-10-05T09:43:47Z by SystemAdmin
Imad77
Imad77
2 Posts

Pinned topic Chroot FTP

‏2009-05-04T17:09:27Z |
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.
Updated on 2012-10-05T09:43:47Z at 2012-10-05T09:43:47Z by SystemAdmin
  • Imad77
    Imad77
    2 Posts

    Re: Chroot FTP

    ‏2009-05-08T19:58:51Z  
    I was able to resolve my FTP issues, and I installed Proftpd where I could perfom a chroot jail FTP.

    You should follow this link:

    http://www.nixblog.org/post/2008/08/12/Installation-et-configuration-de-Proftpd-sous-AIX-52

    Thanks guys for your great help.....
  • SystemAdmin
    SystemAdmin
    134 Posts

    Re: Chroot FTP

    ‏2012-10-03T14:37:17Z  
    • Imad77
    • ‏2009-05-08T19:58:51Z
    I was able to resolve my FTP issues, and I installed Proftpd where I could perfom a chroot jail FTP.

    You should follow this link:

    http://www.nixblog.org/post/2008/08/12/Installation-et-configuration-de-Proftpd-sous-AIX-52

    Thanks guys for your great help.....
    please i have the same problem but i didn't use Proftpd

    i need to know what is the difference bettew useronly and puseronly

    this is my file /etc/file access.ctl

    puseronly: ftpuser
    readwrite: /etc/ftpaccess
    when i log using filezela i have an empty folder and i can not create any thing
    can you help please
  • SystemAdmin
    SystemAdmin
    134 Posts

    Re: Chroot FTP

    ‏2012-10-04T04:21:20Z  
    please i have the same problem but i didn't use Proftpd

    i need to know what is the difference bettew useronly and puseronly

    this is my file /etc/file access.ctl

    puseronly: ftpuser
    readwrite: /etc/ftpaccess
    when i log using filezela i have an empty folder and i can not create any thing
    can you help please
    Taken from publib link of AIX :
    The useronly: and grouponly: lines define anonymous users similar to the user anonymous in that they are not password protected. The puseronly: and pgrouponly: lines define anonymous users that are password protected.
    Note:
    For puseronly: and pgrouponly: users, passwords must be created and login must be disabled.

    Can you let me know the steps you used to create 'ftpuser'

    Thanks
  • SystemAdmin
    SystemAdmin
    134 Posts

    Re: Chroot FTP

    ‏2012-10-04T07:45:40Z  
    Taken from publib link of AIX :
    The useronly: and grouponly: lines define anonymous users similar to the user anonymous in that they are not password protected. The puseronly: and pgrouponly: lines define anonymous users that are password protected.
    Note:
    For puseronly: and pgrouponly: users, passwords must be created and login must be disabled.

    Can you let me know the steps you used to create 'ftpuser'

    Thanks
    i used this link

    http://www.aixmind.com/?p=1094

    please using the software Proftpd, i can not log ftp using filezela, have you any idea?
  • SystemAdmin
    SystemAdmin
    134 Posts

    Re: Chroot FTP

    ‏2012-10-04T09:26:09Z  
    i used this link

    http://www.aixmind.com/?p=1094

    please using the software Proftpd, i can not log ftp using filezela, have you any idea?
    i used Proftpd
    but i can not connect
    please help me
  • SystemAdmin
    SystemAdmin
    134 Posts

    Re: Chroot FTP

    ‏2012-10-04T09:41:19Z  
    i used Proftpd
    but i can not connect
    please help me
    Can you clarify your setup please.

    AIX box : Proftpd server
    Client node : FileZilla Client

    Is this your setup ?
  • SystemAdmin
    SystemAdmin
    134 Posts

    Re: Chroot FTP

    ‏2012-10-04T10:37:12Z  
    Can you clarify your setup please.

    AIX box : Proftpd server
    Client node : FileZilla Client

    Is this your setup ?
    yes this is but i can not connect
    it tell me timeout
  • SystemAdmin
    SystemAdmin
    134 Posts

    Re: Chroot FTP

    ‏2012-10-04T10:52:41Z  
    yes this is but i can not connect
    it tell me timeout
    I hope you have done the required configuration for Proftpd anonymous user.
    http://www.proftpd.org/docs/configs/anonymous.conf

    Thanks
  • SystemAdmin
    SystemAdmin
    134 Posts

    Re: Chroot FTP

    ‏2012-10-04T10:59:45Z  
    I hope you have done the required configuration for Proftpd anonymous user.
    http://www.proftpd.org/docs/configs/anonymous.conf

    Thanks
    Request you to post your query in
    https://lists.sourceforge.net/lists/listinfo/aixtoolbox-list

    As Proftpd is a open source tool supported on AIX
  • SystemAdmin
    SystemAdmin
    134 Posts

    Re: Chroot FTP

    ‏2012-10-04T12:51:37Z  
    Request you to post your query in
    https://lists.sourceforge.net/lists/listinfo/aixtoolbox-list

    As Proftpd is a open source tool supported on AIX
    i have your original problem
    did you solved your original problem without using proftpd

    I have an interesting issue - I am in the process of setting up a chroot jail for ftp users, so they can only access their home directory. It works fine when connecting via command line ftp, but when I connect to the AIX host via a Filezilla client, I can connect OK but the files in the directory are not visible. I can upload files to the directory without any problem, but you can't see...
  • SystemAdmin
    SystemAdmin
    134 Posts

    Re: Chroot FTP

    ‏2012-10-05T07:35:29Z  
    i have your original problem
    did you solved your original problem without using proftpd

    I have an interesting issue - I am in the process of setting up a chroot jail for ftp users, so they can only access their home directory. It works fine when connecting via command line ftp, but when I connect to the AIX host via a Filezilla client, I can connect OK but the files in the directory are not visible. I can upload files to the directory without any problem, but you can't see...
    when i install proftpd, i can not connect to server please help
  • SystemAdmin
    SystemAdmin
    134 Posts

    Re: Chroot FTP

    ‏2012-10-05T09:43:47Z  
    when i install proftpd, i can not connect to server please help
    it'is ok now with proftpd
    but how can i autorase ftp with root account please