Menu

#168 Cpanel Password plugin

open
nobody
None
5
2006-09-28
2006-09-28
kartusa
No

After installing the cpanel password change plugin,
my whole squirrelmail system is not working. Its not
even letting me check my webmails on cpanel. In order
to debug the problem I disabled the plugin from
config.php in config folder. even then its not
letting me in. At login screen I enter the correct
username and password it gives error need to login to
access. Please help me out and also please let me
know which password plugin I have to use to change
the password. My webhosting services use Cpanel
online to create email username and password. Please
help me out by emailing the solution to
cnplkart@yahoo.com. thanks!!!

Discussion

  • Tomas Kuliavas

    Tomas Kuliavas - 2006-09-28

    Logged In: YES
    user_id=225877

    cpanel is proprietaty webhosting suite. Please use plugin
    provided by cpanel.

     
  • kartusa

    kartusa - 2006-09-28

    Logged In: YES
    user_id=1497555

    How do I get it. Do I place a service request to the Cpanel
    webhosting folks or is it available online. Please let me
    know. thanks!!!

     
  • Tomas Kuliavas

    Tomas Kuliavas - 2006-09-28

    Logged In: YES
    user_id=225877

    it should part of Cpanel installation. Somewhere in /usr/local

     
  • kartusa

    kartusa - 2006-09-28

    Logged In: YES
    user_id=1497555

    I am using a 3rd party website hosting that uses cpanel.
    how do I get the plugin. moreover I am using the plugin
    you have provided in plugins site. I am enclosing a screen
    shot. After entering the new password its not changing. I
    get a message" A problem occured and your email password
    was not changed" Please help me to resolve this problem.
    Enclosing my Cpanel password plugin config file

    <?php
    //What are your CPanel "login" values?
    //They are needed for authentication when calling CPanel
    files directly.
    //Don't worry, nothing will be displayed to the user!

    $cpanel_un = "XXXXXX"; // Your Cpanel username.
    $cpanel_pw = "XXXXXX"; // Your CPanel password.

    //Where is the CPanel pop password change file located?
    //This will be different for every CPanel theme. You can
    find the file
    //location by going into the CPanel POP Email Accounts
    area and then
    //right-clicking on the "Change Password" link. Choose
    the
    //"Copy shortcut" option and then cut/paste it here.
    //NOTE: Do NOT include the domain/port info or anything
    after the filename.

    $cpanel_file_location = "/frontend/x/mail/passwdpop.html";
    //$cpanel_file_location
    = "/frontend/x/mail/poppasswordchanged.html";

    //This is the text string that will be used to determine
    if the password
    //change was successful or not. Since this string may be
    different for
    //every theme, you should perform a password change using
    CPanel and then
    //find some text that is *displayed* (visable) ONLY when
    the change was
    //successful. In other words, if this string is found in
    the CPanel results
    //then the//pw change is considered successful. If this
    string is NOT found
    //then the pw change is considered NOT successful.

    //$cpanel_success_string = "was successfully modified";
    $cpanel_success_string = "was successfully changed";

    //If you want see the raw output of the CPanel command,
    set this to true.
    //The default is true. (You should set this to false
    before allowing
    //general users to use this plugin.)

    $show_cpanel_output = true;

    //Should the user be automatically logged out from SM
    after password change?
    //If set to true, then the $show_cpanel_response setting
    is ignored.
    //The default is false.

    $disconnect = false;

    //Do you want to change the password of a "web protected"
    (htaccess) file, too?
    //This is useful if the SAME username/password combination
    is beingused to
    //protect a folder. It will keep things in synch for you.
    //NOTE: The folder must already be protected using the
    CPanel "web protect"
    //tool using the same username used for the email account.
    //The default is false.

    $do_htaccess_change = false;

    //If you have set $do_htaccess_change to true, then you
    MUST also set the
    //following values:

    $protect_file_path
    = "/home/candev/public_html/contractors"; // Full
    path to protected folder
    $cpanel_protect_file_location
    = "/frontend/iconic/htaccess/newuser.html"; //
    Location of CPanel file.
    $cpanel_protect_success_string = "now has the password";
    //Text to look for to determine success.

    ?>

     
  • kartusa

    kartusa - 2006-09-28

    Snapshot of problem - error

     
  • Tomas Kuliavas

    Tomas Kuliavas - 2006-09-29

    Logged In: YES
    user_id=225877

    Please use plugin provided by cpanel. SquirrelMail
    cpanel_pw_changer plugin is a hack coded for some old cpanel
    version. It depends on cpanel interface layout. It is
    possible that current cpanel layout is different.

    Cpanel is proprietary program and they don't provide
    information about their PHP library. Information about PHP
    accounting module shows limited functionality.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.