Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    FreeRADIUS blocked users notification

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 1 Posters 662 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dlcarvalho
      last edited by

      Hello Guys.

      I'm looking for a way to have a FreeRADIUS notification (email maybe) when the user is blocked after reach the maximum password attempts.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • D
        dlcarvalho
        last edited by

        I did a litle workaround…

        I edited the file /usr/local/etc/raddb/scripts/otpverify.sh and inserted the string below at line 86:

        echo "FreeRADIUS: Authentication failed! Too many wrong password attempts. User is locked! To unlock delete /var/log/motp/users/$USERNAME" | mail.php -s"FreeRADIUS alert"

        PS: The mail settings are configured under System/Advanced/Notifications

        Thanks

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.