Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Creating text file for new users

Discussion in 'cPanel Developers' started by Rodrigo Gomes, Nov 28, 2016.

Tags:
  1. Rodrigo Gomes

    Rodrigo Gomes Well-Known Member

    Joined:
    Apr 6, 2016
    Messages:
    102
    Likes Received:
    26
    Trophy Points:
    28
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Hello guys,

    I'm needing to create a text file in the directory /home/*user*/ whenever I create a new user account on WHM. Inside the txt I want to put the user login encrypted with md5.

    I'm creating an API for a caching system and I need to know how to do this.
    Does anyone know how I can do this?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,961
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Rodrigo Gomes likes this.
  3. Rodrigo Gomes

    Rodrigo Gomes Well-Known Member

    Joined:
    Apr 6, 2016
    Messages:
    102
    Likes Received:
    26
    Trophy Points:
    28
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    I'll read about it.

    Thank you Michael!
     
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice