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!

what is the script to rename an account?

Discussion in 'General Discussion' started by tom11011, Dec 2, 2009.

  1. tom11011

    tom11011 Member

    Apr 19, 2009
    Likes Received:
    Trophy Points:
    I know an account can be renamed by using the modify account function from the browser, but what script does it call to do this?
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Jan 24, 2005
    Likes Received:
    Trophy Points:
    well, you can do a strace on the PID of 'cpsrvd' process while changing the username using the "Modify an Account" option. The strace will display a huge output which will give you the cPanel script it calls.

    Find out the PID of the 'cpsrvd' process using

    using the PID from the 2nd column, you can do a strace on it

    and then edit an account using the "Modify an Account" option. You will see a lot of output through which you have to search the script it called.

    BTW, you can try execute strace in a different manner as well, like

    See if it helps...
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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