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.

Using cPanel Login Information?

Discussion in 'General Discussion' started by Pixelation, Jun 3, 2004.

  1. Pixelation

    Pixelation Active Member

    Joined:
    Jun 3, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I'm creating a support ticket center for my customers.
    I would like to make the auth system of my script on a way that only valid cPanel logins can login.

    This doc: http://cpanel.net/remoteaccess-php.html
    is only able to list accounts etc, but I need to be able to verify a user/password and check if it is a cPanel/Unix user.

    Can anyone help me out? I did some checking in the cPanel directories and files and noticed the file '/usr/local/cpanel/bin/pureauth' but I don't know if I can use it, and how to use it since my Perl skills are low :(

    I would appreciate your help.
    Thank you,
    S. Van Baelen
    Pixelation
     
  2. Pixelation

    Pixelation Active Member

    Joined:
    Jun 3, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Can I just move my whole script into the cPanel directory?
    And will it still be able to access the MySQL database with the cPanel PHP interpreter?
     
  3. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Move it inside the /usr/local/cpanel/3rdparty/ and link it in the themes. And yes it will be able to access the mysql database.
     
Loading...

Share This Page