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!

how can avoid cpanel changes mysql root password

Discussion in 'General Discussion' started by pendexgabo, Jan 8, 2010.

  1. pendexgabo

    pendexgabo Registered

    Nov 6, 2008
    Likes Received:
    Trophy Points:
    This happened me like twice this week. and I dont like this.

    for several reasons:
    * I loose control of my server, because something is changing this without my permission
    * the new password is stored on the /root/.my.cnf so if someone enters to the server will have full access to the db too.
    * I like my password, not the one that cpanel put.

    how can avoid this?

    there is any setting I can change?

    thank you
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Nov 5, 2008
    Likes Received:
    Trophy Points:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    cPanel/WHM does not automatically change an existing root password; this is an action that would normally only be triggered by human interaction, such as by someone else logging in and performing the change (e.g., a sysadmin that helps server management). To avoid this issue, assuming it was intentionally performed by staff and not accidental, I would consider enforcing business policies to restrict what authorized staff should and should not do.

    It is possible to manually set or reset the root password or MySQL root password via he following areas in WHM:

    WHM: Main >> Server Configuration >> Change Root Password
    Change Root Password

    WHM: Main >> SQL Services >> MySQL Root Password
    MySQL Root Password
    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