Issue #4975 has been updated by Matteo Cerutti.
debug: User[xxxxx](provider=useradd): Executing '/usr/sbin/useradd
............................ xxxxx'
debug: User[xxxxx](provider=useradd): Executing '/usr/bin/chage xxxxx'
err: /Stage[main]/Users::Production::xxxxx/User[xxxxx]/ensure: change from
absent to present failed: Could not create user stdata: Execution of
'/usr/bin/chage xxxxx' returned 3: Negative numbers are not allowed as input
(except -1)
Changing aging information for xxxxx.
Minimum Password Age [0]:
Aging information not changed.
Therefore chage gets called even if min_password_age is not passed to the type.
Is this supposed to be the normal behavior?
Matteo
----------------------------------------
Bug #4975: Password age issue in 2.6.2
http://projects.puppetlabs.com/issues/4975
Author: Matteo Cerutti
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected version: 2.6.2
Keywords:
Branch:
Whenever I create a new user, using the latest puppet 2.6.2 I get the following
error:
ensure: change from absent to present failed: Could not create user xxxxx:
Execution of '/usr/bin/chage xxxxx' returned 3: Negative numbers are not
allowed as input (except -1)
Changing aging information for xxxxx.
Minimum Password Age [0]:
Aging information not changed.
If I do specify the parameter min_password_age => 0 when calling the user type
then the error goes away, but every time I run puppet it tells me that the
minimum age of the password will be set to 0. I would not really want to manage
any password ages.
Thanks,
Matteo
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.