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:56]
droemel
userdoc:tt_vm_password_validation [2012/07/31 18:14]
abelbeck
Line 15: Line 15:
 You can just comment out the requirements you don't need/want. You can just comment out the requirements you don't need/want.
  
-Here is a bash script from Lonnie (currently not included in AstLinux):+Here is a bash script from Lonnie //(currently not yet included in AstLinux)//:
  
 <code bash ast-vmpasscheck.sh> <code bash ast-vmpasscheck.sh>
Line 78: Line 78:
   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"
Line 83: Line 90:
 </code> </code>
  
-Asterisk 1.8 has also the feature to set a minimum Voicemail Password without the script.+Asterisk 1.8 has also the feature to set a minimum Voicemail Password length without the script
 + 
 +  ; minpassword=0 ; Enforce minimum password length
  • userdoc/tt_vm_password_validation.txt
  • Last modified: 2012/08/01 03:46
  • by droemel