[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 14:29:05 -0400 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
On Wed, 20 Apr 2005, david.nelson@ni.com wrote:
> Thanks for the response. I would like to avoid adding groups to
> hosts that don't use/need them if at all possible.
That's what I was talking about as well :)
Here's an example of the cfperl syntax (users are done in a similar
way):
users:
any::
# the group will be created if they don't exist
group cftest gid =1500
cluster::
# the group will be created if they don't exist
group cluster gid =1600
etc. (the conditional logic is done with the cfengine "." and "|"
operators, plus parenthesis)
Also you can delete groups/users.
You can check if the group or user already exists in NIS or other
backends, so you don't add a local copy of a global group or user
too.
More details are at http://lifelogs.com/cfperl/manual.html#The%20users%20section
Ted