Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd September 2007, 21:12
testset testset is offline
Member
 
Join Date: Mar 2007
Posts: 33
Thanks: 8
Thanked 0 Times in 0 Posts
Default 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)
Reply With Quote
Sponsored Links
  #2  
Old 3rd September 2007, 13:35
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,410
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:54.


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