Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Feb 2006
    Posts
    8

    Default FTP Account

    Im using pure FTP, but cpanel looks like still using /etc/proftpd/passwd.vhosts, well that is not the problem, my question is:

    How i can create an account with access only to /backup drive, i meant i dont want create an account via cpanel, i need only the FTP access, i try with /etc/proftpd/passwd.vhosts but no work.

    Can some help me with this, i need ftp account for setup remote backups in the other server, with access only to /backup.

    Thanks for ur help

  2. #2
    Member
    Join Date
    Jul 2005
    Location
    Edinburgh, Scotland
    Posts
    43

    Default

    I would go for the simple method:

    useradd -d /backup username

    -d option allows you to specify the users home directory (by default it's usually /home/username)

    Having it setup as an actual system user will give you greater control over their actions and better logging, too!

  3. #3
    Member
    Join Date
    Feb 2006
    Posts
    8

    Default mm

    Yea i know, but the useradd command not create ftp accounts, just create system user i meant that command will add the user for ssh access only, not for ftp access.

    Thanks anyway for the help.

  4. #4
    Member
    Join Date
    Feb 2010
    Posts
    21

    Default

    If you follow the path of adding a system user , then you can do below to allow them to use ftp:

    edit /etc/pure-ftpd.conf and and change :

    --
    # If you want simple Unix (/etc/passwd) authentication, uncomment this

    # UnixAuthentication yes
    --

    to

    --
    # If you want simple Unix (/etc/passwd) authentication, uncomment this

    UnixAuthentication yes
    --

    This should allow system users the ftp access.

  5. #5
    Member
    Join Date
    Feb 2006
    Posts
    8

    Default for example

    That will allow ftp access to all system users and can be dangerous for ftp brute force attacks, not exists anyway for only add one user to /backup drive


    Thanks alot for ur reply.

Similar Threads & Tags
Similar threads

  1. FTP account quota for a single account keeps breaking
    By Vliegtuig in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-23-2010, 09:18 AM
  2. Add ftp account to new customer account
    By patcarbo007 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-21-2010, 10:36 AM
  3. Replies: 4
    Last Post: 10-13-2005, 07:43 AM
  4. Ftp manager --> add ftp account
    By sp00k in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 10-12-2003, 06:43 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube