Results 1 to 4 of 4
  1. #1

    Here's another Question...

    Here's another HOT Question. I would like to know how can I setup FTP Accounts without them being a real unix user? I am running wu-ftpd. Can someone please tell me how I can do this.

    Also, What should I do if there is a directory that I want apache and root to read. But not users of the system to be able to get into. What should I do?

    Thanks,
    Michael Barker

  2. #2
    Join Date
    Dec 2000
    Location
    Leesburg, VA
    Posts
    3,205

    Re: Here's another Question...

    Originally posted by WebadOnline
    Here's another HOT Question. I would like to know how can I setup FTP Accounts without them being a real unix user? I am running wu-ftpd. Can someone please tell me how I can do this.
    Not sure why you consider this hot? The answer is, you cannot setup FTP Accounts without having a real user behind the accounts. The user has to be there, otherwise how is WUFTPD going to match a user to the password?



    Also, What should I do if there is a directory that I want apache and root to read. But not users of the system to be able to get into. What should I do?
    Depends on your Apache user. Most likely the owner of the Apache process is either the user apache or the user httpd.

    First, chown the directory to apache/httpd (chown -R username directory/)

    The set permissions to that person only. chmod -R 600 directory/
    (that will give the username above rw permissions, but no one else will have access.

  3. #3
    Join Date
    Mar 2002
    Location
    Servers
    Posts
    806

    Re: Here's another Question...

    Originally posted by WebadOnline
    I would like to know how can I setup FTP Accounts without them being a real unix user? I am running wu-ftpd. Can someone please tell me how I can do this.
    for this you will need to use some other ftp server, e.g. ncFTPd or ProFTPd. they support separate ftp accounts which are not real unix users.

    Originally posted by WebadOnline

    Also, What should I do if there is a directory that I want apache and root to read. But not users of the system to be able to get into. What should I do?
    considering that apache user and group is 'apache',

    chown apache:apache your_dir
    chmod 700 your_dir

    this wil not allow any other user on the shell to go inside that directory.
    Dedicated Servers cPanel Shared/Reseller Hosting
    VPS Backups Cloud Colocation Managed Services
    Webx Networks Serving world wide since 1997

  4. #4
    Join Date
    Jun 2001
    Location
    Chicago, IL
    Posts
    1,953
    btw, I would just like to give my support to ncftpd. I used it for a while, their own database, not the passwd file(so no unix account) and it held a few thousand for me,
    Chicago Electronic Cigarettes: Tobacco Free, Smoke Free. 3 E-Cig Models, 11 flavors, and accessories.
    http://www.chicago-ecigs.com

Posting Permissions

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