Page 1 of 1

login password length

Posted: 19. Nov 2025, 20:39
by benj13
Hi,

As a new user of Salix OS, I am encountering a minor issue. When I attempt to set up a password for my user account, I am required to use a password with a minimum of 6 characters... Is it possible to set a shorter password?

Thank you in advance.

Re: login password length

Posted: 20. Nov 2025, 13:01
by gapan
You really shouldn't. Shorter passwords are so easy to crack these days.

But if you really want to, you can use chpasswd to do it.

Code: Select all

echo "yourusername:yournewpassword" | sudo chpasswd
you'll get the BAD PASSWORD message, but it will be applied anyway.

Re: login password length

Posted: 20. Nov 2025, 16:41
by benj13
Thank you for the tip Gapan ;)