Page 1 of 1

Lockout Peroid

Posted: Thu Jun 16, 2011 10:56 am
by lissom
Hello All,

Does anyone know how to change the lock out period for failed passwords? It appears the default value is forever so I have to manually go in and re-enable the account when someone makes too many failed passwords (I actually think it is people's phones somehow doing it because this seems to only happen to people with email setup on their phones).
An hour or something seems much more reasonable.

Thanks!

Re: Lockout Peroid

Posted: Mon Jun 20, 2011 3:03 pm
by billb3
I have a cron script that runs hourly. Not sure a lockout period is possible, but could be wrong...

Re: Lockout Peroid

Posted: Tue Jun 21, 2011 11:13 am
by lissom
Could you be so kind as to post your script?

Re: Lockout Peroid

Posted: Tue Jun 21, 2011 11:15 am
by billb3

Code: Select all

#!/bin/bash

/opt/scalix/bin/omshowu -m all -l | egrep -v 'sxadmin|sxqueryadmin' | while read username
do
    echo "Processing User $username"
    /opt/scalix/bin/ommodu -n "$username" -k
done