View Poll Results: Do you think that gproftpd is useful ?

Voters
872. You may not vote on this poll
  • Yes, it's easy to use and really powerful

    473 54.24%
  • Yes, but i won't use it

    136 15.60%
  • No, the GUI has to be improved

    263 30.16%
Page 21 of 123 FirstFirst ... 1119202122233171121 ... LastLast
Results 201 to 210 of 1225

Thread: HOWTO : Create a FTP server with user access (proftpd)

  1. #201
    Join Date
    Jun 2005
    Location
    France
    Beans
    7,100
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO : Create a FTP server with user access (proftpd)

    Ok, if you wish to limit the access to the upload directory to your own user only, modify the directory section like that :
    Code:
    <Directory> /home/FTP-shared/upload/>
    Umask 022 022
    AllowOverwrite on
            <Limit ALL>
    		Order Allow,Deny
    		AllowUser Your_user 
    		Deny ALL
    	</Limit>
    	<Limit READ RMD DELE>
          	DenyAll
        	</Limit>
    
        	<Limit STOR CWD MKD>
          	AllowAll
        	</Limit>
    </Directory>
    Thus other users will see the upload directory but won't be able to enter in and use it.

  2. #202
    Join Date
    Apr 2006
    Beans
    58

    Re: HOWTO : Create a FTP server with user access (proftpd)

    that will work. But here is what I'm trying to accomplish:

    I want user1 to have access to the /var/www directory, so I mount this.
    Then I want user2 to only have access to /var/www/website1, I don't want him to have access to the other websites as user1 does.

    Thank you everybody for your help

  3. #203
    Join Date
    Jun 2005
    Location
    France
    Beans
    7,100
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO : Create a FTP server with user access (proftpd)

    I would create 2 upload directories, mount /var/www in the first and /var/www/website1 in the second then use the "LIMIT" comand as shown in my previous post to control the access.

  4. #204
    Join Date
    Jun 2005
    Beans
    6

    Re: HOWTO : Create a FTP server with user access (proftpd)

    Hi, I've gone through all the posts here and I am still lost.
    I'm using Ubuntu Server 6.06
    I have tried downloading proftpd and get the usual error.
    I run this command :

    root@server:~# apt-get install proftpd
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package proftpd
    root@server:~#

    so my first question is how do I install a program that doesn't appear to be there?

    And second is how do I set it up so that the users root and fred have access to the /var/www folder.

    I will be installing ispconfig as well after this and want to have ftp access for these two users. I have tried to install through different methods but no luck so far....

  5. #205
    Join Date
    Jun 2005
    Location
    France
    Beans
    7,100
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO : Create a FTP server with user access (proftpd)

    You shouldn't have all thhe repositories enabled, have a look here for example to compare your source.list file :
    http://www.ubuntuforums.org/showthread.php?t=185758
    Once you've modifyed your source.list file run a :
    Code:
    sudo apt-get update
    sudo apt-get upgrade
    Then retry the command.

    To give rights to /var/www for the user root and fred i see 2 ways, allow rights for all (sudo chmod -R 777 /var/www) or add fred to the group "root" and give full rights to the group (sudo chmod -R 774 /var/www).
    More details on how manage groups and users there :
    http://www.cs.unm.edu/~storm/UNIX.html

  6. #206
    Join Date
    Jun 2005
    Beans
    6

    Re: HOWTO : Create a FTP server with user access (proftpd)

    Thanks for your help....how do I set /var/www as the default directory for when I login via ftp?

  7. #207
    Join Date
    Jun 2005
    Location
    France
    Beans
    7,100
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO : Create a FTP server with user access (proftpd)

    If you followed my guide, just mount the /var/www directoryin the upload directory otherwise you can create a user with /var/www as home directory, he will login in its home directory.
    Post your proftpd.conf file if you need more help.

  8. #208
    Join Date
    Dec 2005
    Location
    Italy
    Beans
    216
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO : Create a FTP server with user access (proftpd)

    Quote Originally Posted by mssm View Post
    I can ftp from the machine itself and from another computer inside home on the same network. The actual test whether I can access it from outside, will be done tomorrow. But I am hopeful that I shall succeed. (Update : Now I can access it from outside; see my next post below).
    Thanks for your message, it was very helpful.

    I'd like to know if when you say
    I can ftp from the machine itself and from another computer inside home on the same network
    you mean using the command
    Code:
    ftp 192.168.1.X 1980
    or using

    Code:
    ftp yourname.homelinux.net 1980
    I have a similar configuration to yours, I also have a home server registered with dyndns. What I want to do it to access my ftp server always using the dns name (ie yourname.homelinux.net). How do you achieve that?

    Thanks
    Last edited by zasf; July 26th, 2006 at 07:54 PM.

  9. #209
    Join Date
    Apr 2006
    Beans
    40

    Re: HOWTO : Create a FTP server with user access (proftpd)

    I'm stuck. I have setup proftpd/gproftpd and everything is configured properly from within my LAN. I can access the FTP server, and transfer files up and down.

    I have forwarded the port in my router, and configured proftpd/gproftpd so that I can access my ftp server remotely (e.g. [my.ip.addy.here] [port] ). I know I set this part up right, because I can access the server from outside the LAN (from my work). From a windows machine, and from a Mac at my office the results are the same, that I can successfully login, however I don't get a directory listing. ?

    I have a feeling that this has to do with my Passive Port settings, and that I need to forward these ports on my router as well, but nothing I have tried has worked... HELP!

  10. #210
    Join Date
    Mar 2005
    Beans
    554

    Re: HOWTO : Create a FTP server with user access (proftpd)

    I have a question about multiple users. I would like to have a shared tree of folders with multiple users. The catch is I want different limits placed on each users.

    /home/ftp/shared
    with the following folders
    scripts
    code
    upload

    I want 3 users
    download
    upload
    private

    I want the download user to be able to download from any dir but not be able to upload.
    I want the upload user to be able to see all dirs but only be able to upload into the upload dir.
    I want the private user to be able to download from any dir and upload into upload only.

    Is this possible? IF so do you have an example?

    nix4me

Page 21 of 123 FirstFirst ... 1119202122233171121 ... LastLast

Bookmarks

Posting Permissions

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