Reduce password length in pmos

Hi, anyone knows how to reduce password length in pmos? I was trying to find how to do this on alpine but no luck . I can find in any distro but no in alpine ☹️

6 points · 4 comments · view on lemmy.world

4 Comments

sve@lemmy.ml · 2 pts · 2y (3 replies)

The default password is already quite short and changing it to just 1 character always worked for me. If you build your own pmOS, your choice of password seems to be unrestricted. How do you change your pasword?

karcio@lemmy.world · 2 pts · 2y (2 replies)

Well as you can see I can not set shorter password. I was looking in /etc/pam.d location or something but did not find anything related to pass settings pmos

magmaus3@szmer.info · 3 pts · 2y (1 reply)

try using passwd in terminal

karcio@lemmy.world · 2 pts · 2y

Right, silly me. Doing this as root solve an issue . Thank you