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!

Change FTP and cPanel passwords only (not database)

Discussion in 'Security' started by mndoug, Feb 17, 2016.

  1. mndoug

    mndoug Registered

    Joined:
    Feb 17, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    England, UK
    cPanel Access Level:
    Root Administrator
    Older versions of Cpanel allowed you to change the FTP and Cpanel without affecting the database. Which was ideal as we want to protect our server and files, yet not have to go into config files and amend the pw each time...

    Is there a workaround, or is this now in a different place?

    I have Cpanel and WHM access.
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,888
    Likes Received:
    90
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello :),

    Are you using cPanel user name in your site mysql configuration file ? I will suggest you please create new mysql user and update your site configuration so that you will not face such issues.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mndoug

    mndoug Registered

    Joined:
    Feb 17, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    England, UK
    cPanel Access Level:
    Root Administrator
    So, there is no way to change the cpanel and ftp, but leave the databases in tact?
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,167
    Likes Received:
    1,933
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mndoug

    mndoug Registered

    Joined:
    Feb 17, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    England, UK
    cPanel Access Level:
    Root Administrator
    There used to be an option to change the passwords but leave the database password... is this no longer a feature?
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,167
    Likes Received:
    1,933
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    It's still a feature, but the option is only available if the user has a ".my.cnf" file in their home directory. EX:

    Code:
    /home/$user/.my.cnf
    You can create this file as the user if you prefer to make this option available.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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