Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Apr 2006
    Posts
    29
    Thanks
    1
    Thanked 0 Times in 0 Posts

    unusual user management GUI...

    Hi,

    I'm not sure if this belongs here or on the Perl/CGI section...

    I'm designing a site that will have a section that only members can access. Nothing new there, I'll just use htaccess. The thing is, it's all done through CPANEL and the person running that area of the site has to be able to add, edit and delete users WITHOUT loging in to CPANEL.

    Basically what I need is a script that taps into the password database and allows that person to manage the user logins. All without messing CPANEL. Meaning that both CPANEL and the script will show an up to date list of active logins whenever they're used.

    Stuff like allowing users to register, sending password reminder, etc, is not needed. The person in charge of managing the users will insert the new logins as they come along. It's just a matter of allowing someone to add users without using the CPANEL.

    Here's some info about my account:

    Apache version 1.3.37 (Unix)
    PERL version 5.8.7
    Path to PERL /usr/bin/perl
    PHP version 4.4.7
    MySQL version 4.1.21-standard
    cPanel Build 10.9.0-RELEASE 10737

    I used to have a script that worked great (it was a different site, almost 10 years ago), but that was when .htacess stuff was installed manually. I'm not sure if the way CPANEL uses to store the logins is 'tap-able'...

    Can it be done?

    Is there any free off-the-shelf script I can use instead?

    Thanks in advance.
    Last edited by whopub; 07-04-2007 at 06:26 AM. Reason: not sure if I posted in the right section...

  • #2
    Regular Coder
    Join Date
    Mar 2007
    Location
    Quebec
    Posts
    261
    Thanks
    6
    Thanked 7 Times in 7 Posts
    yes this is possible. Although I'm not sure if you can find one for free... search around using the keywords "HTTP authentication". If there are any scripts available(which there probably is), those keywords should find them for you.

    If you really wanted, I could write one for you, but look around first.

  • #3
    New Coder
    Join Date
    Apr 2006
    Posts
    29
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Hi fl00d and thanks for the interest.

    I found a few free solutions, like this one here, which I installed but doesn't seem to work. The problem seems to be caused by CPANEL. In the old days we'd just set .htaccess manually but I can't even do that with my current server account. Seems like protected dirs only work if the password file is located on the /home/user/.htpasswds/ dir!

    And CPANEL seems to scan for .htaccess files, as I set this one manually and CPANEL was able to pick it up. I saw it marked as protected when I searched for it within CPANEL.

    This is probably preventing the script from working.

    One other detail I forgot to mention is that I'm doing this on a subdomain, hence the need to have a user management script, as I cannot give full CPANEL access to the person handling the access management.

    Does any one has any ideas? Or will I have to buy a new server account just for that client, so he can have full CPANEL access?

    Plenty of those user management scripts here, BTW.

  • #4
    New Coder
    Join Date
    Apr 2006
    Posts
    29
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Just a short followup...

    I ended up going with DirectoryPass. It has some limitations (like the location of the password file) but it gets the job done.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •