From 901ccc1393a7e494f7b1b64eaeb2f7809056aafa Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Wed, 2 Jun 2010 14:08:50 -0400 Subject: First pass at per-command documentation --- ipalib/plugins/netgroup.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'ipalib/plugins/netgroup.py') diff --git a/ipalib/plugins/netgroup.py b/ipalib/plugins/netgroup.py index 6fd0670b..ad97c722 100644 --- a/ipalib/plugins/netgroup.py +++ b/ipalib/plugins/netgroup.py @@ -19,6 +19,26 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Netgroups + +A netgroup is a group used for permission checking. It can contain both +user and host values. + +EXAMPLES: + + Create a new netgroup: + ipa netgroup-add --desc='NFS admins' admins + + Add a member to the group: + ipa netgroup-add-member --users=tuser1,tuser2 admins + + Remove a member from the group: + ipa netgroup-remove-member --users=tuser2 admins + + Display a netgroup: + ipa netgroup-show admins + + Remove a netgroup: + ipa netgroup-del admins """ from ipalib import api, errors -- cgit