Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Captive Portal» Captive portal auto change user's password
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: Captive portal auto change user's password  (Read 3569 times)
0 Members and 1 Guest are viewing this topic.
jithurbide
Newbie
*
Offline Offline

Posts: 6


View Profile
« on: May 08, 2008, 06:18:18 am »

Hello,

I use pfsense and captive portal to authenticates wireless user. I want to change a user's password everyday to improve security.

Can someone help me to create a script that change the password and send a email with the new password?

Thank's in advance.

Logged
marcoof
Newbie
*
Offline Offline

Posts: 20


View Profile
« Reply #1 on: May 10, 2008, 11:51:40 am »

hello !

Easy to change the pasword in a file and send it by mail, but how
to generate the new password?
Logged
buraglio
Full Member
***
Offline Offline

Posts: 150



View Profile WWW
« Reply #2 on: May 19, 2008, 02:43:10 pm »

pwgen?
Logged
jithurbide
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #3 on: May 22, 2008, 12:41:15 am »

Quote
hello !

Easy to change the pasword in a file and send it by mail, but how
to generate the new password?

Did you know how I can change the captive portal password for a user?
Logged
aneip
Jr. Member
**
Offline Offline

Posts: 41


View Profile
« Reply #4 on: June 30, 2008, 09:49:27 pm »

do you use the local user manager?

You need to write a script to read the file and update with new password and email it to them. Where do you put user email? Pfsense local user doesn't have field for email. fullname maybe? or username itself.

But I think, emailing a password everyday seems a little to much, maybe 20-30 users is ok..

BTW, if you interested to create a bounty about this do contact me.
Logged
jithurbide
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #5 on: July 07, 2008, 03:48:03 am »

Quote
do you use the local user manager?

Yes, I do.

Quote
Where do you put user email?

In fact, I use pfsense as a wireless access point form external people. Then, I have only one user on the local user manager. And I need to send to password only to one fixed email address like reception@mysociety.com.

It's probably really simple but I don't know how to do it.
Logged
ginosteel
Full Member
***
Offline Offline

Posts: 138


View Profile
« Reply #6 on: July 27, 2008, 05:22:32 am »

U will need an external mysql data base and a script to do that. I have a question for u:
If u want that the cp change the user pass every day and send it to email how u will be able to check your email to see the new pass needed to access the cp?Huh
Maybe is better to create a user for u and another user and pass for the rest.
Logged
jithurbide
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #7 on: August 14, 2008, 12:52:56 am »

In fact, I use CP only for wireless user. Then, I just need to send a email for a user that user wired network.

I'll try to explain. I have a wired and wireless network for my company. I use PF and Cp only for external people of my company. For some security policies, I need to change the CP password everyday and send the new password to the reception email. Then, when a external person come to the reception, the receptionist can give the new password of the day.

To do this, did I realy need a external mysql database? can't I create and cron job to launch a scrit to change the local database?
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.029 seconds with 19 queries.