Hi Usama,
I think SAP B1 allow to set password lenght is upto 10 charachter.
But you can set different combination in password.
See the below path
Administration -> setup -> General -> security -> Password Administration
Rgds,
Kamlesh Naware