On Tue, 19 Apr 2005, [EMAIL PROTECTED] wrote:

> We've got some boxes that define local groups in /etc/groups.  We also scan
> various filesystems to make sure all files are properly owned.  The problem 
> is 
> when a system that does not have one of the local groups defined, cfengine 
> reports 'Unknown group: ....'
> 
> Is there any way to avoid this notice w/o having to update all systems'
> /etc/groups w/ unneccesary groups?

You can add the custom groups with groupadd on the specific machines
you need, and check for their existence so you don't run groupadd
twice.

cfperl (http://lifelogs.com/cfperl) does this automatically, for
groups and users both.

Ted


_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to