Results 1 to 8 of 8

Thread: Using unique option prefix pass instead of password is deprecated

  1. #1
    Registered Member
    Join Date
    Mar 2008
    Posts
    125

    Default Using unique option prefix pass instead of password is deprecated

    I've been getting an email from my server the last few days with the message

    Subject: Cron <root@vps> /usr/bin/test -x /usr/local/cpanel/bin/optimizefs && /usr/local/cpanel/bin/optimizefs

    "Using unique option prefix pass instead of password is deprecated and will be removed in a future release. Please use the full name instead."

    Google this term and found some clues . . . but
    I checked my.cnf and found no mention of pass

  2. #2
    cPanel Staff
    Join Date
    Jul 2013
    Posts
    5
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Using unique option prefix pass instead of password is deprecated

    Hello,

    I'm not 100% sure why you are getting that email from those scripts but if mysql is complaining about the pass vs. password then it's likely referring to /root/.my.cnf.

    If you continue to get those emails please open a ticket, I'd love to take a look into this issue for you

    You can submit a ticket at:

    http://go.cpanel.net/supportrequest

    Have a good one!
    Matt

  3. #3
    Registered Member
    Join Date
    Mar 2008
    Posts
    125

    Default Re: Using unique option prefix pass instead of password is deprecated

    Hi Matt,

    Yes /root/.my.cnf had pass=******** in it. I changed it to password and will open a ticket if I get another email.

    Thanks.

  4. #4
    Registered Member
    Join Date
    Mar 2008
    Posts
    125

    Default pass or password?

    UPDATE:

    Noticed high aborted connections are due to the fact CSF stats couldn't connect to mysql because the password in /root/.my.cnf wasn't being accepted.

    Had changed .my.cnf from 'pass' to 'password' because of the preceding warnings - since pass in that file generates these messages both in emails and in mysqltuner.

    "Warning: Using unique option prefix pass instead of password is deprecated and will be removed in a future release. Please use the full name instead."

    But WHH>SQL Services>MySQL Root Password uses 'pass' and seemingly CSF will only accept 'pass' so what is that warning referring to?

    Thanks.
    Last edited by jimlongo; 10-20-2013 at 12:22 AM. Reason: Link Killed, Threads Merged

  5. #5
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    13,231
    cPanel/WHM Access Level

    Root Administrator

    Default Re: pass or password?

    Quote Originally Posted by jimlongo View Post
    But WHH>SQL Services>MySQL Root Password uses 'pass' and seemingly CSF will only accept 'pass' so what is that warning referring to?
    This message is output to prepare you for upcoming changes by MySQL. The use of "pass" is deprecated and will no longer be valid in a future release of MySQL. Thus, while it still works now, it's recommended you modify any instances of this entry that you find.

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services - Change Logs
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  6. #6
    Registered Member
    Join Date
    Mar 2008
    Posts
    125

    Default Re: Using unique option prefix pass instead of password is deprecated

    Thanks Michael, I get the meaning of the notice.


    I guess what's confusing is
    1. That WHH>SQL Services>MySQL Root Password generates 'pass' instead of 'password'
    2. That CSF (I know it's not your product and I will follow up with them) fails if 'password' is used.

  7. #7
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    13,231
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Using unique option prefix pass instead of password is deprecated

    Quote Originally Posted by jimlongo View Post
    I guess what's confusing is
    1. That WHH>SQL Services>MySQL Root Password generates 'pass' instead of 'password'
    It will not replace "pass" with "password" automatically at this time. Functionality for that type of feature will likely be implemented before support for the "pass" term ends.

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services - Change Logs
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  8. #8
    Registered Member
    Join Date
    Mar 2008
    Posts
    125

    Default Re: Using unique option prefix pass instead of password is deprecated

    Update: CSF 6.37 now will accept "password" in .my.cnf for stats collection

Similar Threads

  1. Replies: 1
    Last Post: 11-17-2010, 05:43 AM
  2. Pass already encrypted password to cpanel?
    By Eli L in forum cPanel Developers
    Replies: 1
    Last Post: 09-24-2010, 12:03 PM
  3. SFTP password different from FTP pass
    By iLLuSi0nS in forum General Discussion
    Replies: 2
    Last Post: 10-14-2008, 04:51 PM
  4. Setting Forgot Pass Option for the Cpanels
    By mwaraitch in forum General Discussion
    Replies: 1
    Last Post: 01-29-2007, 04:13 PM
  5. Password modification (ftp pass problem)
    By maxbia in forum General Discussion
    Replies: 1
    Last Post: 06-14-2004, 02:03 PM
bargain