Thread: FTP User

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Location
    Ontario, Canada
    Posts
    498
    Rep Power
    18

    FTP User


    Kinda off-topic, but I don't know where else to post this. How can I setup an FTP-only account on FreeBSD? Adding a user with a /nonexistant shell doesn't seem to work. Please help!
    To alcohol! The cause of, and solution to, all of life's problems. -- Homer Simpson
  2. #2
  3. No Profile Picture
    Seņor Member
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Aug 2000
    Posts
    1,157
    Rep Power
    38
    I posed this question to a friend of mine, and here is his response:
    I use ProFTPd and I use this as my FTP user under FreeBSD:

    ftp:*:14:5::0:0:Anonymous FTP Admin:/home/ftp:/nonexistent
    Michael
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2001
    Location
    System Sol, Planet Terra, USA, CA
    Posts
    9
    Rep Power
    0

    Lightbulb NcFTP...


    ...has a virtual user feature. If you set up a secondary "passwd" file (which can be used along with your existing /etc/passwd file for registered, "real" users) you can have FTP logins that do not require a corresponding user account.

    You'd have to create appropriately secured (chmod'd) directories to serve as file transfer locations. Download-only directories are easy to set-up without worrying about ownership...just make all the files read-only and the directories read+execute.

    HTH.

IMN logo majestic logo threadwatch logo seochat tools logo