From owner-freebsd-questions Tue Feb 13 19: 3:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from matiple.beastie.net (cr13646-a.lngly1.bc.wave.home.com [24.113.138.52]) by hub.freebsd.org (Postfix) with ESMTP id 0DA0D37B491 for ; Tue, 13 Feb 2001 19:03:19 -0800 (PST) Received: from beastie.beastie.net. ([192.168.1.2] helo=beastie) by matiple.beastie.net with smtp (Exim 3.20 #1) id 14SsDp-0001pM-00 for freebsd-questions@FreeBSD.ORG; Tue, 13 Feb 2001 19:03:13 -0800 Message-ID: <002101c09632$c9cc1420$0201a8c0@beastie.net> From: "David Fuchs" To: Subject: Spanning multiple lines in /etc/group Date: Tue, 13 Feb 2001 19:04:03 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'd like to keep my /etc/group file as clean as possible. I have about 60 users that need to be part of 3 different groups. Is there a way to add all these users to a group without needing to keep all 60 names on one line? I've found that this method works: group1:*:500:user1,user2,user3 group1:*:500:user4,user5,user6 However, If I create multiple instances of a group (as shown above) everything works great, but when the periodic script runs (cron), it preens the group file and only leaves the last occurrence of each group instantiation. Is there any way to specify only 5 or 6 users per line? It would definitely help me in the future when I need to add or remove a user. Thanks in advance for help everyone! -David Fuchs To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message