Re: vsftpd problems

From: Stuart Sears (stuart_at_sjsears.com)
Date: 07/02/04

  • Next message: Ben Sewell: "RE: vsftpd problems"
    Date: Fri, 02 Jul 2004 14:11:03 +0100
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    
    

    Dan,
    *please* bottom-post, it makes it so much easier to follow the thread...
    I've tried to reorder this into a comprehensible conversation (apologies
    if the order isn't perfect!)
    <continuing at base...>

    ---
    From: "Dan" <dsaults@comcast.net>
    Reply-To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    To: <redhat-list@redhat.com>
    Subject: vsftpd problems
    Date: Wed, 30 Jun 2004 23:17:38 -0400
    Redhat Linux 9 2.6.7
    After installing vsftpd via redhat rpm, I notice that any user has full
    access to the system and can modify and delete files any where. It seems
    vsftpd is ignoring permissions.
    How can I go about fixing this? I don't know what I am looking for in the
    config file for vsftp.
    Thanks
    Daniel
    -----
    Message: 5
    Date: Thu, 01 Jul 2004 03:21:41 +0000
    From: "Ben Sewell" <ben_sewell_007@hotmail.com>
    Subject: RE: vsftpd problems
    To: redhat-list@redhat.com
    Message-ID: <BAY14-F27a5OVifMWZF000373f2@hotmail.com>
    Content-Type: text/plain; format=flowed
    Hi,
    Could you explain abit more about what you want setup- eg, do you wish 
    anonymous access to be granted to download files, or do you wish for only 
    users to login. Also, if the case if for several users to logon, which 
    locations do you want them to access in the machine?
    Regards,
    Ben
    -------
    Ben,
    I don't want anonymous access. I want each user to only be able to access
    what they have permission (rwx)to access i.e /home/username or any publicly
    defined directory. As it stands if a user logs in as lets say bob they can
    go into /home/marry and delete the contents out of that directory, which
    they shouldn't be able to do.
    Dan
    -----Original Message-----
    From: Jean-Christophe Valiere [mailto:jyce@free.fr] 
    Sent: Friday, July 02, 2004 8:16 AM
    To: General Red Hat Linux discussion list; Dan
    Cc: redhat-list@redhat.com
    Subject: RE: vsftpd problems
    $> man vsftpd
    [...]
    OPTIONS
         An optional [configuration file] may be given on the command line.  The
         default configuration file is /etc/vsftpd.conf.
    [...]
    $> less /etc/vsftpd.conf
    [...]
    # Allow anonymous FTP? (Beware - allowed by default if you comment this
    out).
    anonymous_enable=YES
     By default all configuration should be in /etc and /etc/vsftpd
    Dan wrote:
    >Already have that turned off, and I went through the man and online help
    >file, along with the config file, but I don't see where I need to fix the
    >problem with a user a loging in and being able to delete files they don't
    >own.
    >
    >
    >
    >Selon Dan <dsaults@comcast.net>:
    >  
    >
    >>Ben
    >>
    >>    
    >>
    >>>From: "Dan" <dsaults@comcast.net>
    >>>Reply-To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    >>>To: <redhat-list@redhat.com>
    >>>Subject: vsftpd problems
    >>>Date: Wed, 30 Jun 2004 23:17:38 -0400
    >>>
    >>>Redhat Linux 9 2.6.7
    >>>
    >>>After installing vsftpd via redhat rpm, I notice that any user has full
    >>>access to the system and can modify and delete files any where. It seems
    >>>vsftpd is ignoring permissions.
    >>>
    >>>How can I go about fixing this? I don't know what I am looking for in the
    >>>config file for vsftp.
    >>>
    >>>Thanks
    >>>Daniel
    >>>
    >>>      
    >>>
    so what access do you want users to have?
    You can chroot users into their home directories, you know - this will 
    prevent them from doing any damage to your system at all.
    I can't recreate your symptoms though - using ncftp and the standard ftp 
    client, logging in as a local user I end up in my homedir and cannot 
    change into anyone elses.
    can you post your vsftpd.conf file? I'd like to know what the difference 
    is...
    can you login over ftp as a normal user and do an ls -l on /home?
    what permissions does it show?
    are your home directories globally executable/writeable (yes I know this 
    sounds like a daft question)?
    Stuart
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Ben Sewell: "RE: vsftpd problems"

    Relevant Pages

    • Re: vsftpd dead but subsys locked
      ... That was the change necessary to get vsftpd to run as a daemon. ... I have since tried completely removing the FTP site, ... I have checked the config file and ... Additionally I have heard back from Redhat and they said they are stumped ...
      (RedHat)
    • Re: RHCE and OS discs?
      ... Im going to be going for the RHCE exam later this summer. ... or are they too different from the RedHat versions? ... I think that bind and vsftpd are the biggest. ...
      (RedHat)
    • RE: vsftpd problems
      ... file, along with the config file, but I don't see where I need to fix the ... Subject: vsftpd problems ... Selon Dan: ... > anonymous access to be granted to download files, or do you wish for only ...
      (RedHat)
    • Re: ftp server on RH ES 3.0
      ... You can control vsftpd by service command like ... You can find official rpm in RedHat Network. ... > Could anyone advise me how to force the FTP server on Edvanced Server ...
      (RedHat)
    • Re: vsftpd dead but subsys locked
      ... I won't reply to HTML messages since they are automatically ... Why restart xinetd? ... In Red Hat Linux 9 vsftpd runs as a standalone ... config file never changed and replaced with a back up ...
      (RedHat)