Reset Password Every Month


Is there any module that we can use to reset the root password on linux puppet client VM’s?
Like Hashing the password first reset with the Hash values


Any thoughts?

I am not sure what you are looking for, honestly.

Foreman acts as a puppet ENC, root password can be stored in foreman although I think it should be safer to use some kind of puppet vault. I am no expert in this, @ekohl ?

You can set a PAM policy to enforce users to change their passwords in Linux if that’s what you are looking for. Otherwise, just change root password field in puppet? I am not sure how good practice this is tho, root password is typically set in kickstarts.

The best practice is: don’t use passwords, don’t even use root over ssh. SSH keys and sudo for superuser.