RE: FTP server

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

  • Next message: GK: "RE: FTP server"
    To: "'General Red Hat Linux discussion list'" <redhat-list@redhat.com>
    Date: Fri, 18 Jun 2004 12:29:45 -0700
    
    

    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
    

  • Next message: GK: "RE: FTP server"

    Relevant Pages

    • Re: Phishing Attempt
      ... Confusion - above you say the script was in the home directory, ... was connecting to the ftp server on 58.105.225.59 using the same account ... remarks: This object can only be updated by APNIC hostmasters. ...
      (comp.os.linux.security)
    • Re: SAMBA and XP
      ... I use Samba to access shares from network 'nix boxes from ... In Windows, when you're a member of a Domain, you sent your authentication ... the home directory and drive mapping, ... and give it the same name and password as the account they ...
      (RedHat)
    • Re: Leopard: Advanced Options in Accounts not ready for prime time?
      ... When I created a regular user account I went back in to Advanced Options and changed the home directory for that user from /Users/ethant to /Volumes/Home/ethant. ... I'd expect that to create my basic account user in /Volumes/Home/ethant upon first login. ...
      (comp.sys.mac.system)
    • Questions about system vs. user accounts...
      ... The problem I'm having is that I'll create a jabber account ... However...when I check the mysql user account that the RH9 rpms create, ... it has a bash shell and home directory of /var/lib/mysql...yet when I ... look in it's home directory there's no .bashrc. ...
      (RedHat)
    • Re: Copying over a user account #2
      ... >>> The user now has permissions for all its own files, ... The desktop layout is in the home directory, at least on 10.4, so I do not ... never tried more than one account under 10.3, ... > difference -- I dragged the home directory over from the iBook to the G4 ...
      (comp.sys.mac.system)