Increase Minimum Password Length
The default minimum length for OpenBSD login passwords is 6 characters. To increase this to 10 characters, simply edit the /etc/login.conf file.
Edit the /etc/login.conf file
default:
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin:
:umask=022:
:datasize-max=512M:
:datasize-cur=512M:
:maxproc-max=128:
:maxproc-cur=64:
:openfiles-cur=128:
:stacksize-cur=4M:
:localcipher=blowfish,6:
:ypcipher=old:
:tc=auth-defaults:
:minpasswordlen=8:
:tc=auth-ftp-defaults:Adding the :minpasswordlen=8: line under the default class.