PAM Athentication using a script based on PHP or Html, help!

Scripts which allow the use of special authentication methods (LDAP, AD, MySQL/PostgreSQL, etc).

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
Rahul
OpenVpn Newbie
Posts: 19
Joined: Fri Oct 14, 2011 5:04 am

PAM Athentication using a script based on PHP or Html, help!

Post by Rahul » Tue Nov 29, 2011 2:22 pm

until now i have used to create client accounts manually using this string: useradd username -s /bin/false but i really tired by this manual work.

would someone tell me how to make something like this? http://23.19.59.41/register.php or so called "Pam username-password authentication script"? i want to have basically a html/php page within people could signup with username and password and that username and password should work with their vpn accounts.

If you think your Free comment doesn't worth this then i will pay you $2 for giving me direction here for my above mentioned query or send me PM, alternatively, if you do this on my server I'll pay you $10.

thanks.

Rahul
OpenVpn Newbie
Posts: 19
Joined: Fri Oct 14, 2011 5:04 am

Re: Create users for PAM authentication with PHP script

Post by Rahul » Wed Nov 30, 2011 10:57 am

no one wish to reply here? Guys i am paying for your comment ... :)

User avatar
dazo
OpenVPN Inc.
Posts: 155
Joined: Mon Jan 11, 2010 10:14 am
Location: dazo :: #openvpn-devel @ libera.chat

Re: PAM Athentication using a script based on PHP or Html, h

Post by dazo » Wed Nov 30, 2011 11:03 am

First of all, this forum is about OpenVPN and not how to add PAM user management interfaces. Don't expect people to help you setup or write a user administration tool for PAM using PHP in this forum.

Second, this forum is a community service. Nobody pays to use OpenVPN, PAM or any other open source tools.

If you have bought a license to OpenVPN Access Server, then approach the proper channel for that product. Probably by logging in via this site: http://www.openvpn.net/index.php/support-center.html

Thank you.

Rahul
OpenVpn Newbie
Posts: 19
Joined: Fri Oct 14, 2011 5:04 am

Re: PAM Athentication using a script based on PHP or Html, h

Post by Rahul » Thu Dec 01, 2011 4:08 am

I made a thread because i found it is in: Scripting and Customizations > Authentication Scripts

[Scripts which allow the use of special authentication methods (LDAP, AD, MySQL/PostgreSQL, etc).] did i do wrong then? and my request is not big.

EMF
OpenVpn Newbie
Posts: 5
Joined: Tue Dec 06, 2011 6:52 pm

Re: PAM Athentication using a script based on PHP or Html, h

Post by EMF » Tue Dec 06, 2011 7:40 pm

Rahul -- This is a support board for OpenVPN, though, not for Linux. You'd be better off asking your question on a Linux support site instead.

Check your distribution's forums, for example; what you're asking has been done, but is outside the scope of OpenVPN. (I think it may even be in the PHP Cookbook, by O'Reilly, but I may be misremembering.)

Rahul
OpenVpn Newbie
Posts: 19
Joined: Fri Oct 14, 2011 5:04 am

Re: PAM Athentication using a script based on PHP or Html, h

Post by Rahul » Mon Dec 19, 2011 2:28 pm

is there anything similar to it? I don't want to use this command "useradd USERNAME -s /bin/false" and
"passwd USERNAME" a help will be very appreciated.

User avatar
xauen
Forum Team
Posts: 80
Joined: Tue May 10, 2011 7:57 pm
Location: Manila, Philippines
Contact:

Re: PAM Athentication using a script based on PHP or Html, h

Post by xauen » Mon Dec 26, 2011 9:48 am

Rahul wrote: If you think your Free comment doesn't worth this then i will pay you $2 for giving me direction here for my above mentioned query or send me PM, alternatively, if you do this on my server I'll pay you $10.
Rahul, this is an openvpn forum not a linux forum. If you may see on the other threads, there has already been numerous tutorials about this.
Additionally, please dont make openvpn member like we are cheap persons accepting your payment of $10 for a whole days work or even more. This is not a bargain store.

If you really want, you can contact me at hypernet28@yahoo.com
"Never be bullied into silence. Never allow yourself to be made a victim. Accept no ones definition of you"
-IDK

Post Reply