FTP guest access chroot not working

From: Hillel (hseltzer_at_larich.com)
Date: 03/22/05

  • Next message: Bill Vermillion: "Re: Multiple Print jobs hang on last page of first job"
    Date: 22 Mar 2005 14:54:23 -0800
    
    

    Hello Everyone,

    I am trying to setup a user to have limited FTP access on a
    OpenServer 5.0.6a system.

    I added the "guestuser <username>" line to /etc/ftpaccess
    and set the home directory for that user in /etc/passwd to
    /ftp/./<startdir> as instructed in the ftpd and ftpaccess man pages.
    The /ftp directory is setup for anonymous FTP access.

    When logging into ftp as this user, the ftp prompt starts
    out in the correct starting directory, but I can still go back
    to the root directory of the server. Using a graphical FTP
    client I can see the entire directory tree as if there never
    was a chroot call.

    Is there something else required to get the chroot call to work?

    Thanks.
    ---Hillel


  • Next message: Bill Vermillion: "Re: Multiple Print jobs hang on last page of first job"

    Relevant Pages

    • Re: For Lance
      ... only if I setup PASV at all or should I setup for both regular and PASV ... > Port 21 isn't the only one that's used for FTP. ... > firewalls, raise the firewalls, make firewall exceptions and troubleshoot ...
      (microsoft.public.inetserver.iis.ftp)
    • Re: [opensuse] Restricting a user to one directory for FTP access
      ... Restricting a user to one directory for FTP access ... Have the ftp service you're using chroot the logins. ...
      (SuSE)
    • Re: I cannot get my damn FTP server to work? Really frustrating.
      ... you don't need to setup router port forwarding just to FTP ... >> of your internal network (anyone on the internet) to access your ftp ...
      (microsoft.public.inetserver.iis.ftp)
    • Re: OT ftp mget
      ... I found out that including this command in the scriptfile confuses ftp; somehow it doesn't parse the logon correctly. ... 200 PORT command successful. ... So this setup seems to work, apart from the fact that the two files seem to be unavailable. ...
      (comp.sys.ibm.ps2.hardware)
    • Re: setting up FTP
      ... Networking, Internet, Routing, VPN Troubleshooting on ... I don't know if I have everything setup correctly. ... Gene6 has a testing page to access FTP sites... ...
      (microsoft.public.windows.server.networking)