Results 1 to 6 of 6

Thread: proftpd help

  1. #1
    Associate
    Join Date
    Apr 2008
    Posts
    11

    proftpd help

    how can i add multiple users, with same home directory.

  2. #2
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760
    Well in the gui tool, just change the home dir to whatever one you want. Make sure that the permissions are set to allow things based off of the group on the home dir's contents.
    http://beginlinux.com/index.php/desk...edora8addusers
    http://fedoraproject.org/wiki/Docs/D...de/Permissions

  3. #3
    Associate
    Join Date
    Apr 2008
    Posts
    11
    if do that from CLI for user1

    chown -R user1:user1 /var/ftp/home

    and do the same thing for user2

    chown -R user2:user2 /var/ftp/home

    will this mean that permission is no longer with user1?

  4. #4
    Yes... what you want to do is create a group for both those users and give the directory group permissions for that folder, so something like...
    chown -R :group /var/ftp/home
    chmod -R g+rw /var/ftp/home

    The second line will give the group read+write access to /var/ftp/home...
    63,000 bugs in the code, 63,000 bugs,
    ya get 1 whacked with a service pack,
    now there's 63,005 bugs in the code!!

  5. #5
    Associate
    Join Date
    Apr 2008
    Posts
    11
    brilliant!

    but do i need to change the home directory for each users in /etc/passwd file? or just once for the group? or i can't make home directory for group?

  6. #6
    Yes, you do need to make the home directories the same in /etc/passwd.
    63,000 bugs in the code, 63,000 bugs,
    ya get 1 whacked with a service pack,
    now there's 63,005 bugs in the code!!

Similar Threads

  1. New PET ::: ProFTPd on Ubuntu
    By Compunuts in forum Linux - General Topics
    Replies: 0
    Last Post: 03-11-2006, 07:09 AM
  2. proftpd
    By pinehead in forum Linux - General Topics
    Replies: 5
    Last Post: 07-27-2004, 06:41 PM
  3. proftpd and apache
    By agar in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 03-23-2002, 06:59 PM
  4. proftpd
    By Kaiser_Sose in forum Linux - Hardware, Networking & Security
    Replies: 28
    Last Post: 01-22-2002, 01:57 PM
  5. Proftpd setup
    By Jeepsta in forum Linux - Hardware, Networking & Security
    Replies: 16
    Last Post: 12-28-2001, 04:22 AM

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
  •