Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Verify passwords using cPanel/system accounts

Discussion in 'General Discussion' started by Pap, Mar 19, 2004.

  1. Pap

    Pap Member

    Joined:
    Mar 11, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    151
    I would like to create a secure access area on my website and have the login/pass to that to be the same as the user's cPanel login. Rather than use a cron job to duplicate /etc/shadow into a world-readable file, I was hoping there was a (built-in?) function in WHM that I could use to check a user/pass, such as /scripts/chkpass, and I could use a reseller access hash and curl/sockets to connect.

    But alas, I cannot find such a built-in script or module. I tried putting a test perl script in /scripts/foo.pl that would just echo "foo", but WHM refused to access it.

    Any thoughts, anyone?

    Thanks.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice