Password length in Linux

I used to run local test web server with FreeBSD, which allow you to set password like “123”. I like using simple password as its local test server and i don’t want to type big and complicated passwords.

Recently i switched to Linux as more data centers support Linux web servers than FreeBSD. FreeBSD works great for me, but faced some problems with cpanel control panel. So descided to go with Linux, with Linux, as much more popular than FreeBSD, it is easy to find support etc…

On Linux, i can’t set simple password like “123”. It have a minimum 5 character limit by default.

You can change this limit by editing the file / etc / login.defs

PASS_MIN_LEN 5

Change it to what ever you need.


Posted in Windows. Bookmark the permalink.