use usernames & passwort for acces to an intern forum
I run an »intern forum«. At the moment i use a htaccess checkback, which ask for a username and password. The username and password is for every user the same.
Is it possible to get the usernames and their passwords out of the ISPconfig database (?), so that they can change in ISPconfig their passwords and can login with their ISPconfig username and password through the .htaccess checkback infront of the intern forum?
I mean something like this:
»Hello, this is the .htaccess which protects the intern forum. please enter your ISPconfig username and ISPconfig password to proceed«
So, i need the usernames with their passwords - and when a user changes his password the new password should/must be used to access the .htaccess checkback "before" the forum (in forum they can have other usernames and passwords)
The usernames and passwords are stored in the database table sys_user and you can retrieve it from there.
The passwords for the email users are not stored in the ISPConfig database. If you gave to validate against them, you will have to retrive them from /etc/passwd and /etc/shadow.
|All times are GMT +2. The time now is 18:42.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.