Issue #1942 has been updated by jamtur01.

Category set to Red Hat
Status changed from Unreviewed to Needs more information
Assigned to set to community
Target version set to unplanned

Happy to consider a patch.
----------------------------------------
Feature #1942: Red Hat systems should use gpasswd instead of usermod for group 
changes
http://projects.reductivelabs.com/issues/1942

Author: sjlain
Status: Needs more information
Priority: Normal
Assigned to: community
Category: Red Hat
Target version: unplanned
Complexity: Easy
Affected version: 0.24.7
Keywords: usermod,useradd,gpasswd,user management,group management


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://reductivelabs.com/redmine/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