Categories
Embedded Linux Linux Errors

“passwd” Bad Password Error!

“passwd” is a command that you can change your user password or another users passwords if you are superuser.

Sometimes you have to use too many linux based machines at once and because they are local machines security of machines does not matter for you. Like this situations you should want to use basic passwords but system does not permit this when you use “passwd” command.

To solve “Bad: new password is too simple” error you should change some lines.

On “/etc/pam.d/common-password” file remove “obscure” parameter then add “min-len=1” parameter to the same line.

Screenshot_1
/etc/pam.d/common-password

After changes you can retry “passwd” command with basic passwords.

Thanks for reading.

By Emre Anıl TERZİOĞLU

Embedded Software Engineer

Leave a Reply

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