RE: FTP server

From: Sergei Giritch (sergei_at_fleetchek.com)
Date: 06/19/04

  • Next message: Noah: "RE: restarting named - rndc: connect failed: operation canceled"
    To: "'General Red Hat Linux discussion list'" <redhat-list@redhat.com>
    Date: Fri, 18 Jun 2004 15:02:42 -0700
    
    

    No, That's why it is secure ftp.
    If he is programming in php, let's say and include some
    Includes in the code - those files or libraries will be visible.
    Cause php run in privileged mode.

    Sergei Giritch
    Web System Administrator
    Fleetchek.com

    -----Original Message-----

    From: redhat-list-bounces@redhat.com [mailto:redhat-list-bounces@redhat.com]
    On Behalf Of GK
    Sent: Friday, June 18, 2004 8:41 AM
    To: General Red Hat Linux discussion list
    Subject: RE: FTP server

    it is ok. But I have a question. Can this users see all the filesystem?
    (include / )?
    I have this problem in my vsftpd.

    Thanks.

    El vie, 18 de 06 de 2004 a las 16:29, Sergei Giritch escribió:

    > Hi Ben!
    > In /etc/vsftpd/vsftpd.conf specify
    > chroot_local_user=YES
    >
    > and comment
    > #anonymous_enable=YES
    >
    > Then to bind user to his home directory
    > In /etc/passwd
    >
    > mosherben:x:800:800::/var/www:/bin/bash
    > pectabyte:x:801:801::/var/www/pectaybte:/bin/bash
    >
    > Then in the bash execute
    > chmod 777 -R /var/www/pectaybte
    > chown pectabyte:pectabyte -R /var/www/pectaybte
    >
    > that's it
    > Best Regards,
    > Sergei Giritch
    > Web System Administrator
    > Fleetchek.com
    >
    >
    > -----Original Message-----
    > From: redhat-list-bounces@redhat.com
    [mailto:redhat-list-bounces@redhat.com]
    > On Behalf Of Ben Sewell
    > Sent: Friday, June 18, 2004 3:52 AM
    > To: redhat-list@redhat.com
    > Subject: FTP server
    >
    > Hi,
    > ok I installed the vsftpd which came with RH9. Anyhows I know the config
    > file is in /etc/vsftpd/vsftpd.conf but how do I configure it to be
    > multi-users with no anonymous access. This is only for a friend and myself

    > to use. I have created our usernames and passwords but how to choose what
    > directories we have access to?
    >
    > I want my account (mosherben) to access /var/www/ for complete control of
    > the FTP server and service so I can change the permissions of a subfolder
    > using an FTP client if I dont like something I see in one of the folders.
    >
    > I want my friends account (pectabyte) to access /var/www/pectaybte to
    > control his area of the FTP service.
    >
    > Both accounts need full permissions (7). Can someone help me figure the
    > configuration out?
    >
    > Thanks,
    > Ben
    >
    > PS: I havnt updated any packages yet using up2date before someone asks.
    >
    > _________________________________________________________________
    > Getting married? Find great tips, tools and the latest trends at MSN Life
    > Events. http://lifeevents.msn.com/category.aspx?cid=married
    >
    >
    > --
    > redhat-list mailing list
    > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Noah: "RE: restarting named - rndc: connect failed: operation canceled"

    Relevant Pages

    • ftp_get() - OpenVMS - semicolon in filenames
      ... I am trying to use the php ftp_* functions to access files on an OpenVMS UCX ... FTP server. ...
      (php.general)
    • Re: file creation: ownership
      ... >> I am hosting a blog on which I can upload pictures. ... first an applet uploads the picture by ftp and then a php ... finds the newly uploaded images and creates thumbnails with gd. ...
      (comp.lang.php)
    • Re: [PHP] File Upload Security and chmod
      ... The FTP will be slower, ... your files at will in PHP. ... all of the directory creation and permissions changes? ... upon the permissions the parent folder. ...
      (php.general)
    • Re: best ftpd for public web servers.
      ... On 13/05/13 10:04, Chris Davies wrote: ... ended up in the root of their webservers using FTP. ... If you've allowed PHP then you've allowed access to anything. ... One I have considered is having a separate way to access the server than the stock internal port so that a flooded network wont block admin access. ...
      (comp.os.linux.misc)
    • Re: [PHP] Creating thumbnails using Image Functions, then saving to folders
      ... PS You probably CAN set up FTP access and use PHP FTP to shuffle files ... I am looking to create a thumbnail from an uploaded image, ... folder chmod'd world read/writable for the process to work. ...
      (php.general)