Issue #1942 has been updated by William Van Hevelingen.

Debian and Solaris version here not sure if it works on Redhat based systems

https://github.com/pdxcat/pdxcat-group
http://forge.puppetlabs.com/pdxcat/group
----------------------------------------
Feature #1942: Red Hat systems should use gpasswd instead of usermod for group 
changes
https://projects.puppetlabs.com/issues/1942

Author: Sami J. Laine
Status: Accepted
Priority: Normal
Assignee: 
Category: Red Hat
Target version: unplanned
Affected Puppet version: 0.24.7
Keywords: usermod,useradd,gpasswd,user management,group management
Branch: 


Most Red Hat Enterprise Linux, at least releases 4 and 5, ship gpasswd-utility 
which allows management of entries in /etc/group which is exactly what usermod 
does. However, gpasswd has one big advantage over usermod: gpasswd does not 
require an entry for user to be added/deleted from a group to have an entry in 
/etc/passwd.

In an environment which relies on (e.g.) some bizarre LDAP setup (I'm forced to 
live with one at work), there might not be entries in /etc/passwd for users 
which are still require to have various rights granted by entries in 
/etc/group. So there might be a user called 'foo' who has not an entry in 
/etc/passwd, yet the same user needs to be in group 'bar' in /etc/group as the 
group 'baz' is used to control who are allowed to use 'sudo'-command in the 
system.

Now I could of course just rewrite necessary bits and pieces on useradd.rb 
locally, but this seems to be a thing that might be useful for Puppet-community 
in general (well, at least to those who run RHEL). So, thus a feature request.


-- 
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.

Reply via email to