Ask Your Question
0

What is used to configure /etc/shadow's warndays number in the absence of a puppet user attribute for this?

asked 2016-02-23 05:11:58 -0600

btoohey gravatar image

The user resource does not appear to have an attribute to control the warndays number for a given user. How do sysadmins typically control this number with puppet?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-02-24 04:16:35 -0600

rajeevsharma gravatar image

Hi btoohey, I am not very sure why user resource do not provide an attribute to set warndays but there are other simple ways to perform same using linux inbuilt commands like chage. This system command should be wrapped in puppet exec resource. Also, after user resource you can notify exec resource to have warndays set.

If any resource is lacking a feature I think this is the simpler way to get it through.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2016-02-23 05:11:58 -0600

Seen: 113 times

Last updated: Feb 24 '16