Can anyone tell me how to disable the password complexity requirement on Photon OS v2.0 &/or v3.0 please?
I know this is not a best practice, but I want to use it in my lab environment and it enforcing a complex password is a real PITA.
It's probably just the standard password settings file at /etc/pam.d/system-auth or /etc/pam.d/common-password.
daphnissov Thank you; but could you expand a little on what needs to be changed?
There is a /etc/pam.d/system-auth file but NOT a /etc/pam.d/common-password file.
Recommend doing some Google searches. This is very well covered out there and not Photon specific.
Not really helpful daphnissov; As a forum Guru and a vExpert you of all people should know that these forums are about helping people and not just suggesting "Google it".
Part of those roles include helping people to help themselves first. You can read the article in my signature to understand why that's significant.
Photon has no complexity requirements it enforces for root. For other users, it does so when using passwd. If you want to lift those, you can edit /etc/pam.d/system-password and comment out the "password required" line and alter the requisite line to just state "pam_unix.so". When you're logged in as a non-root account and call passwd you will have no limitations.
google search brought me here
In Photon 3.0 - to disable the remember password count
changed remember from 5 to 0
Photon 3.0 definitly forces password complexity for root 😉