CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2025/08/29 03:29:52
Modified files:
sysutils/ruby-puppet/8: Makefile
Added files:
sysutils/ruby-puppet/8/patches:
patch-lib_puppet_provider_user_useradd_rb
Log message:
Use usermod(8) -p to fix changing a user's password
We don't have chpasswd, so nothing is executed to change the password.
Current code expects a new value on stdin, so they create a tempfile, etc.
Our usermod(8) -p takes it as argument and, as confimed by ktrace, Puppet
executes the command directly without shell, so use that instead.
master.passwd(5) now gets updated correctly.
Puppet 7 has the same issue, but is EOL since februrary 2025.
OK sebastia