Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Basicly I would like to create a ftp user called ftpbackup on a Centos 5 server that has WHM/Cpanel. i have root access. do you have any ideea how ?

I tried:
1.useradd
2.Pure-pw useradd
3.editing /etc/proftpd/passwd.vhosts (i know it says PRO ftp but this is where cpanel stores passwords for users i created from the cpanel interface)

authentification mecanism in pureftpd conf is Extauth pureauth ... if it helps you to recognize the prolem.

don't know what happens ....

share|improve this question

closed as off-topic by HopelessN00b Jan 13 at 22:13

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

    
This question appears to be off-topic because it is about working with a service provider's management interface, such as cPanel. –  HopelessN00b Jan 13 at 22:13
    
HopelessN00b, the original poster seems to be asking about an admin level question (e.g. administering a WHM server) as opposed to how to use a service provider's implementation of cPanel. Are you sure that's off topic? I think that falls under the on topic category of "tools used for administering, monitoring, or automating" servers. –  Timothy R. Butler Mar 21 at 2:39

2 Answers 2

up vote 1 down vote accepted
/usr/local/cpanel/bin/proftpd_passwd <cpuser> -a <ftpuser>:<password>:<uid>:<gid>:<cpuser>:/home/<cpuser>/public_html/ftp:/sbin/nologin
  • <cpuser> = your cPanel username
  • <uid> = user_id of cPanel user
  • <gid> = group_id of cPanel user
  • <ftpuser> = the user to be used for login for example if ftpuser = ftp then to login use ftp@domain.com
share|improve this answer

You have cPanel, then why do you want to mess-up with cPanel setup. Do it in the cPanel way. ie, simply create a dummy domain in WHM and use it for sole FTP purpose or create an FTP account from inside your cPanel.

If you add/modify users manually, it is not necessary that it will be permanent or will not be overwritten by cPanel in the future.

-$

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.