HostOnNet Blog

Password length in Linux

Looking for Linux Server Admin or WordPress Expert? We can help.

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.