Accidentally Deleted FTP User

Mobius1

Member
Aug 19, 2011
13
0
51
I had two windows open in SSH Explorer, I was supposed to delete the FTP user on one sever, but I accidentally removed the FTP user on the server I have WHM / cPanel installed on :eek:

We can log in to the connections, but uploading triggers a 'critical error' in Filezilla.

I tried manually adding the FTP user via SSH, but it still throws out the same error.

How can I solve this?
 

Mobius1

Member
Aug 19, 2011
13
0
51
No, it's the main FTP user (ftp).

I ran:
Code:
sudo userdel ftp
and when I realised what I'd done, I ran this to re-add the user:
Code:
useradd -d /home/user_account/public_ftp -s /bin/false -r ftp
then:
Code:
passwd ftp
But when logged in, I'm treated like an anonymous user.