Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 1995 14:39:53 +0100 (MET)
From:      j@uriah.sax.de (J Wunsch)
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: New adduser script
Message-ID:  <199501041339.OAA04116@bonnie.tcd-dresden.de>
In-Reply-To: <199501040014.BAA28584@beryll.cs.tu-berlin.de> from "Wolfram Schneider" at Jan 4, 95 01:14:41 am

next in thread | previous in thread | raw e-mail | index | archive | help
As Wolfram Schneider wrote:
| 
| We (*) have a script, which allow the users to create, administrate,
| manipulate etc. groups. Limits: 16 groups per user, 200 users per
| group.  Sorry, the manpage is only in german, but the options should
| be self explained.

Perhaps bad english is better than good german for 95 % of the members
of this list, so i've quickly translated it.

| NAME
|      grp - maintaining Unix groups for everyone
| 
| SYNOPSIS
|      grp -show [<gname>]
|      grp -setup|-establish <gname> [<long name>]
|      grp -dissolve|-liquidate <gname>
|      grp -admin <gname> <uname>
|      grp -lname <gname> <long name>
|      grp -invite|-cancel|-exclude <gname> <uname> [<uname> ...]
|      grp -join|-refuse|-reject|-resign|-suspend|-leave <gname>
| 
| DESCRIPTION
	grp allows to install, maintain and remove unix groups.

	Every user is allowed to install up to 16 groups.  Each
	group may contain up to 200 users.

	Changes made to the group entries usually will be honoured
	at least one hour after the change has been made.

| OPTIONS
	The options are divided into options allowed for group members
	or invited users, and in options for administrators.  The
	option -show can be called by everyone.

|      -show <gname>
	Without a parameter, shows which groups are maintained by the
	user, which groups (s)he is a member of, and which groups (s)he
	is invited to.

	Given a group name as parameter, the information about this
	group will be displayed.

	Options for group members of invited users:

|      -join <gname>
	Prerequired: the maintainer of a group has invited the user
	to that group.  This option makes one to become a member of
	the group.
	If the user is already member of 16 groups, the request will
	be rejected.

|      -refuse <gname>
|      -reject <gname>
	Prerequired: the maintainer of a group has invited the user
	to that group.  The user refuses the invitation.

|      -leave <gname>
|      -resign <gname>
	The user is a member of the group.  He's going to leave the
	group hereby.  This can only be reverted by another invitation
	of the group maintainer, followed by the user's confirmation.

|      -suspend <gname>
	The user is a member of the group.  He suspends membership,
	but can regain it at any time again (by -join).

|      Optionen fuer Verwalter einer Gruppe; diese Kommandos koennen
|      nur vom Verwalter, Gruppen- oder Systemverwalter aufgerufen
|      werden.

	Options for group maintainers; their use is restricted to
	group maintainers or the system operator.
	The number of members or invited users for a single group is
	limited to 200; if an attempt is made to go beyond this limit,
	any of the following commands will be aborted.

|      -setup <gname> [<long name>]
|      -establish <gname> [<long name>]
	Create a new group.  Assumes the user is member of less than
	16 groups.

	The group name must be between three and eight characters long;
	the first character must be a lowercase letter, followed by
	either lowercase letters or digits.  Optionally, a long group
	name  can be entered, it should not contain control characters
	or a colon.  If the long name contains special characters or
	spaces, it must be quoted.

	If the name already exists, a new one has to be chosen.  If
	the name is unacceptable from a technical, moral or ethical
	point of view, the system operator can rename it.

|      -lname <gname> <long name>
	Change the long name (see also -setup).

|      -dissolve <gname>
|      -liquidate <gname>
	The named group will be cancelled, regardless of any existing
	members or invited users.

|      -admin <gname> <uname>
	The administration of the named group will be passed to the
	user `uname' (who must be a member of `gname').

|      -invite <gname> <uname> [<uname> ...]
	Invite user(s) to a group.

|      -cancel <gname> <uname> [<uname> ...]
	Revert an invitation.

|      -exclude <gname> <uname> [<uname> ...]
	Exclude user(s) from a group.  Should better be done in
	agreement with the user(s).

| SEE ALSO
|      chgrp(1), newgrp(1), groups(1), id(1)
| 
| NOTES
	Modifications will be announced hourly in the network, and
	will only take effect after a newgrp(1) or a new login.

| BUGS
	Initial groups (groups where not all members are listed in
	`xgroup') may be deleted by their respective administrator

	XXX: i cannot parse the german sentence below without tracking
	the source code, hence the translation above might be bogus. -- jw

|      Initiale Gruppen (Gruppen, bei denen nicht alle Bentzer
|      in 'xgroup' stehen, koennen von deren Verwalter (wenn einer
|      existiert) geloescht werden.
| 


-- 
cheers, J"org                             work:      --- no longer ---
                                          private:   joerg_wunsch@uriah.sax.de

Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199501041339.OAA04116>