Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2007
    Location
    India
    Posts
    2

    Default cPanel Backend Scripts

    Hello,

    Does anyone know where you could find help on all backend scripts for cpanel. Like I would like to know things like

    How does "Password Modification" in WHM really work on the backend. I mean like /scripts/chpass would change the account password but not the ftp password. But I don't know how to do this.

    I would really appreciate it if I would get some comprehensive guide to the whole lot under /scripts and there options......

    Please this is very urgent....

    Thank you guys......
    Rohit.

  2. #2
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Most of what cPanel does is not handled by the scripts in the /scripts/ directory, but rather through the cpsrvd binary, related binaries in /usr/local/cpanel/bin or (sometimes) Perl modules in /usr/local/cpane

    Some of the scripts in /scripts/ are no longer maintained.

    For specific scripts your best options are:

    1. Read the script
    2. Search the forum for that specific script

    If you want to automate some of what cPanel does, by using your own scripts, you can find documentation on our website.

  3. #3
    Registered User
    Join Date
    Jun 2007
    Location
    India
    Posts
    2

    Default

    Ok, that's great.

    But I don't understand half of what id in the scripts....

    Anyway I need to know a few things....

    Like for changing a user's cPanel password you give "chpass <user> <newpassword>".......right....
    But I have heard that the ftp passwords do not get changed .....Could you
    let me know what else should I run in order to get it done...

    Thanks a lot ........

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by rohitp View Post
    Ok, that's great.

    But I don't understand half of what id in the scripts....

    Anyway I need to know a few things....

    Like for changing a user's cPanel password you give "chpass <user> <newpassword>".......right....
    But I have heard that the ftp passwords do not get changed .....Could you
    let me know what else should I run in order to get it done...

    Thanks a lot ........
    You may want to try the recently added change password function in the XML API:

    http://www.cpanel.net/plugins/xmlapi/passwd.html

    Note, you can call the XML API from a shell script such as a PHP Shell Script or a Perl Shell Script. You may appreciate the status codes associated with that particular API call if you are concerned about passwords getting out of sync with each other.

    More XML API docs available at: http://www.cpanel.net/plugins/xmlapi/index.html

Similar Threads & Tags
Similar threads

  1. backend Files affected during all cpanel scripts?
    By vqubbes in forum Data Protection
    Replies: 2
    Last Post: 07-23-2009, 12:13 PM
  2. backend Files affected during all cpanel scripts?
    By vqubbes in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-18-2006, 04:52 AM
  3. backend scripts problem
    By astral in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-05-2005, 06:00 PM
  4. BackEnd Scripts
    By assassin in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-10-2005, 02:53 PM
  5. Backend Scripts
    By amal in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-26-2004, 09:34 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube