The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

new /scripts/chpass works

Discussion in 'General Discussion' started by sodapopinski, Dec 10, 2012.

  1. sodapopinski

    sodapopinski Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    6
    I see now cpanel WHM 11.34.0 (build 11) everytime I did /scripts/chpass, I got error:

    ----------------------------------------------------------------
    warn [realchpass] Insecure passing of password on ARGV ERROR: /usr/local/cpanel/scripts/realchpass
    Invocation changes only the system password and does not have any effect on other services associated with your
    cPanel account, including FTP, SSH, WebDAV, and FrontPage. It is strongly encouraged for you to change the
    password via the WHM & cPanel interface.
    You can force a password change through this script by setting
    the environment variable 'ALLOW_PASSWORD_CHANGE=1'
    ----------------------------------------------------------------

    I want to force to use this simple shell chpass command, let me know how to setting
    the environment variable 'ALLOW_PASSWORD_CHANGE=1' ?? What file I need to edit?

    Thanks alot.
     
  2. Dr Ahmed

    Dr Ahmed Member

    Joined:
    Mar 22, 2011
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    You can type the following:

    then you can use

    /scripts/chpass
     
  3. sodapopinski

    sodapopinski Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    6
    Thanks alot Dr Ahmed.
     
Loading...

Share This Page