Results 1 to 5 of 5

Thread: ftp server, user acounts and directories

  1. #1

    Question ftp server, user acounts and directories

    I've the oleg firmware 1.9.2.7-7g on my WL-500gP. This is a screen of the USB Application menu:


    Every time i create an user on the User Account List and a try to use that user for tfp, they end up on the /tmp/harddisk/ftp_pub folder.

    So if an user xpto_n creates a folder, that folder is visible and accessible by any other user that i have on the User Account List.

    So the big question is:

    How can i create users that can only have access to the folders they created, or folders i specify ?

  2. #2
    install vsftp:

    ipkg install vsftp

    Check macsat.com for more info

  3. #3
    Already tried that one. Give me an error:

    [admin@ASUS log]$ ipkg install vsftpd
    Installing vsftpd (2.0.1-7) to /opt/...
    Downloading http://ipkg.nslu2-linux.org/feeds/op...1-7_mipsel.ipk
    Configuring vsftpd
    You'll need to add line like
    echo "ftp stream tcp nowait root /opt/sbin/vsftpd /opt/etc/vsftpd.conf" >>/etc/inetd.conf
    to your /unslung/rc.xinetd file -- see the wiki at http://www.nslu2-linux.org for more info
    cannot create directory `/usr/share': Read-only file system
    Successfully terminated.

  4. #4
    You get an error because you didn't read the manual on macsat.com

    Start reading there...

  5. #5

    Answer: wrong and arrogant

    If you follow up macsat.com you get the result the user jrosado describes correctly.
    You can ignore the error messages.
    You can install new users by introducing new users into /etc/passwd (by hand!) You have to save those volatile settings (e.g in post-boot).
    You can setup the user rights with a directory like structure.
    The main directory is defined by the user_config_dir tag in vsftpd.conf.

    vsftpd works fine without firewall.

    xinetd and vsftpd have big problems with the firewall. They send useless IP-requests that finally are ignored. This makes that the login slows down and takes minutes. (Look at http://www.linuxforen.de/forums/showthread.php?t=159995 but given the solution is not enough for the ipkg vsftpd).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •