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.

System User Accounts on a cPanel Server

Discussion in 'General Discussion' started by C4talyst, Apr 12, 2013.

  1. C4talyst

    C4talyst Well-Known Member

    Joined:
    Jun 21, 2008
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    I'm running a cPanel box with CentOS. In the past I've been able to create a new system user at the command line using useradd. After doing so I had a normal user account that would allow for ftp and ssh access. I tried to do that again this week and some weird stuff happened.

    I created the account and was able to ssh to it, couldn't ftp but didn't care, as I believe pure-ftpd pulls it's logins from some cPanel database. The weird thing was that the next morning, the user account I created had new public_html and public_ftp directories. These weren't there after creating the account; is there some cPanel cron job that updates / modifies newly created system users everyday?
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    Most likely it's upcp script doing that.
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,471
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You are no doubt aware of this but posting here all the same:
    useradd(8) - Linux man page
     
Loading...

Share This Page