From owner-freebsd-hackers Tue Jul 30 10:00:13 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA18307 for hackers-outgoing; Tue, 30 Jul 1996 10:00:13 -0700 (PDT) Received: from haldjas.folklore.ee (Haldjas.folklore.ee [193.40.6.121]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA18145 for ; Tue, 30 Jul 1996 09:58:10 -0700 (PDT) Received: (from narvi@localhost) by haldjas.folklore.ee (8.6.12/8.6.12) id UAA03692; Tue, 30 Jul 1996 20:01:15 +0300 Date: Tue, 30 Jul 1996 20:01:15 +0300 (EET DST) From: Narvi To: Charlie ROOT cc: hackers@freebsd.org Subject: Re: /etc/group In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 30 Jul 1996, Charlie ROOT wrote: > I am having a problem with groups in FreeBSD. I have a group 'user' and > i seem to have broke it. I think itsbecause the line buffer in > /etc/group cannot exceed 1024 characters. > > So i tried adding a new group called 'user' also, with different GID but > i get an error when i run the adduser script along wiht other errors. > > ex... > inner /home/staff/costa>adduser > (c) Copyright 1995 Wolfram Schneider > Use option ``-silent'' if you don't want see all warnings & questions. > > Check /etc/shells > Check /etc/master.passwd > User news: illegal shell: ``/nonexistent'' > User xten: illegal shell: ``/nonexistent'' > User ftp: illegal shell: ``/dev/null'' > Check /etc/group > Groupname exist twice: user:1109 -> user:101 Of course it should complain if there are two groups with the same name - the mapping between names and IDs should be one to one. > > How do i resolve the problem? Right now i addusers into their own group > (jim:*:1239:jim) and its OK. And you don't want it to stay that way? It does sometimes have some plusses... > Why do you want to keep the users in only one group anyways? How about spliting them between several groups (users1, users2, ...)? Sander > How do i clean up this mess?? > > Thanks in advance! > Costa > > > ==================C=O=R=T=E=X==C=O=M=M=U=N=I=C=A=T=I=O=N=S================== > Costa J Morris - Partner Full Service Internet Access > http://www.cortx.com Interactive CGI Scripting > costa@cortx.com Internet Consulting > 201-567-2297 Web Design > ============================================================================ > > > >