From owner-freebsd-hackers Wed Jan 4 06:03:15 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id GAA24568 for hackers-outgoing; Wed, 4 Jan 1995 06:03:15 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id GAA24555 for ; Wed, 4 Jan 1995 06:02:45 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA18816; Wed, 4 Jan 1995 15:01:44 +0100 Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP id PAA19772 for freebsd-hackers@freebsd.org; Wed, 4 Jan 1995 15:01:43 +0100 Received: by bonnie.tcd-dresden.de (8.6.8/8.6.6) id OAA04116; Wed, 4 Jan 1995 14:39:54 +0100 From: j@uriah.sax.de (J Wunsch) Message-Id: <199501041339.OAA04116@bonnie.tcd-dresden.de> Subject: Re: New adduser script To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Wed, 4 Jan 1995 14:39:53 +0100 (MET) In-Reply-To: <199501040014.BAA28584@beryll.cs.tu-berlin.de> from "Wolfram Schneider" at Jan 4, 95 01:14:41 am X-Phone: +49-351-8141 137 Reply-To: joerg_wunsch@uriah.sax.de X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 4856 Sender: hackers-owner@freebsd.org Precedence: bulk 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 [] | grp -setup|-establish [] | grp -dissolve|-liquidate | grp -admin | grp -lname | grp -invite|-cancel|-exclude [ ...] | grp -join|-refuse|-reject|-resign|-suspend|-leave | | 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 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 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 | -reject Prerequired: the maintainer of a group has invited the user to that group. The user refuses the invitation. | -leave | -resign 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 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 [] | -establish [] 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 Change the long name (see also -setup). | -dissolve | -liquidate The named group will be cancelled, regardless of any existing members or invited users. | -admin The administration of the named group will be passed to the user `uname' (who must be a member of `gname'). | -invite [ ...] Invite user(s) to a group. | -cancel [ ...] Revert an invitation. | -exclude [ ...] 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. ;-)