HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Tips/Tricks/Mods (http://www.howtoforge.com/forums/forumdisplay.php?f=19)
-   -   use usernames & passwort for acces to an intern forum (http://www.howtoforge.com/forums/showthread.php?t=15256)

testset 2nd September 2007 21:12

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)

till 3rd September 2007 13:35

Quote:

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?
That depends on the login information that you need.

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 07:28.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.