The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Accidentally Deleted FTP User

Discussion in 'General Discussion' started by Mobius1, Mar 13, 2012.

  1. Mobius1

    Mobius1 Member

    Joined:
    Aug 19, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,481
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Was this an addon FTP User?

    cPanel > Files section > FTP Accounts
     
  3. Mobius1

    Mobius1 Member

    Joined:
    Aug 19, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  4. Mobius1

    Mobius1 Member

    Joined:
    Aug 19, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Seems to be working now. Strange.
     
Loading...

Share This Page