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.

Building my own MyAccount, getting info on CPANEL

Discussion in 'General Discussion' started by axishift, Nov 4, 2004.

  1. axishift

    axishift Member

    Joined:
    Feb 25, 2004
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Im planning to build my own MyAccount driven site on our hosting facility, we use CPANEL for it. I was just wondering if it would be possible for me to access some of CPanel's data/database like the users/password, domain pointed to that user, plans used, accounts on that user, etc.

    I have some theory already. example the username and password.

    I'll be accessing the /etc/passwd and /etc/shadow for the authentication, since i think it's what the cpanel is using (a guess ok).

    Could i access the users db of cpanel? i mean where do cpanel store the accounts and plans, etc .am planning to build a php my account page, that will actually list all their info, etc. im aware that cpanel has this already, but i want to create something on my own, and i'll be customizing it more.

    hope i can get good response on this, my idea is not to reverse engineer something on cpanel, but to just use the db and make my own.

    thanks,
    louie
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Account info is in /var/cpanel/users/username.
     
Loading...

Share This Page