2012-11-12 - [GRASE-Hotspot] stopping a User changing their password

Header Data

From: Bob Hunt <bo***2@gmail.com>
Message Hash: 159c993c4966eb94dcb1bf85799ac7a769ba1f3425889632d960368243730965
Message ID: <CAA-jMMSB8B_gOYhTsD=mviDCj39vim=2jKB_XSAO0i7RwCZ00g@mail.gmail.com>
Reply To: N/A
UTC Datetime: 2012-11-12 21:54:32 UTC
Raw Date: Tue, 13 Nov 2012 15:54:32 +1100

Raw message

Hi Darren,

As an alternative work-around for your issue, you could set up a cron job
to periodically reset the guest password back to default. I currently use
this method as I have a public guest account with an advertised username /
password but also have private individual users with faster access who want
to keep the "My Account" user-facilities page.

If you edit /etc/crontab and insert the following line, it automatically
does this every 5 minutes, where DB_UNAME is the database username,
DB_PASSWD is the database password, YOUR_GUEST_PASSWORD is the user
password that you want reset to and YOUR_GUEST_USERNAME is the username for
the user (change these to your values):

*/5 * * * * root /usr/bin/mysql -uDB_UNAME -pDB_PASSWD -Dradius -e "UPDATE
radcheck SET radcheck.Value='YOUR_GUEST_PASSWORD' WHERE
radcheck.Attribute='Cleartext-Password' AND
radcheck.UserName='YOUR_GUEST_USERNAME';"


-- 
Bob Hunt
20 Clarke Street
Wyndham
NSW 2550
Australia

Phone/fax 61 (0)2 64942030

Thread

  • Return to November 2012

  • Return to “Bob Hunt <bo***2@gmail.com>

  • 2012-11-12 (Tue, 13 Nov 2012 15:54:32 +1100) - [GRASE-Hotspot] stopping a User changing their password - Bob Hunt <bo***2@gmail.com>