help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Local groups


From: Ted Zlatanov
Subject: Re: Local groups
Date: 20 Apr 2005 11:05:02 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

On Tue, 19 Apr 2005, david.nelson@ni.com 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]