userdoc:tt_vm_password_validation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
userdoc:tt_vm_password_validation [2012/07/07 11:59]
droemel
userdoc:tt_vm_password_validation [2012/07/31 18:21]
abelbeck
Line 11: Line 11:
   * Can not contain the same digit, in sets of four (i.e. 1111)   * Can not contain the same digit, in sets of four (i.e. 1111)
   * Can not be the same as the extension   * Can not be the same as the extension
 +  * Can not be the same as the extension plus a single digit
   * Can not be the old password   * Can not be the old password
  
Line 78: Line 79:
   fi   fi
 done done
 +
 +delta=$((${#new_pw} - ${#mbox}))
 +if [ $delta -eq 1 ]; then
 +  if string_in_string "$mbox" "$new_pw"; then
 +    reject "Too similar to mailbox number detected"
 +  fi
 +fi
  
 echo "VALID" echo "VALID"
  • userdoc/tt_vm_password_validation.txt
  • Last modified: 2012/08/01 03:46
  • by droemel