From owner-freebsd-audit Fri May 18 4:41:26 2001 Delivered-To: freebsd-audit@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 0C33C37B422 for ; Fri, 18 May 2001 04:41:19 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f4IBf5569743; Fri, 18 May 2001 14:41:05 +0300 (EEST) (envelope-from ru) Date: Fri, 18 May 2001 14:41:05 +0300 From: Ruslan Ermilov To: Dima Dorfman Cc: audit@FreeBSD.ORG Subject: Re: Short patch to id(1) Message-ID: <20010518144105.A65354@sunbay.com> References: <20010518052635.2DE963E28@bazooka.unixfreak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010518052635.2DE963E28@bazooka.unixfreak.org>; from dima@unixfreak.org on Thu, May 17, 2001 at 10:26:35PM -0700 Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.ORG On Thu, May 17, 2001 at 10:26:35PM -0700, Dima Dorfman wrote: > Hi folks, > > Please review the attached short patch to id(1) to fix a minor > cosmetic bug; id(1) will separate the list of groups with commas > *only* if it is not invoked with a username as an argument as > demonstrated here: > > dima@sungold% id > uid=1003(dima) gid=100(users) groups=100(users), 0(wheel), 101(dns) > dima@sungold% id dima > uid=1003(dima) gid=100(users) groups=100(users) 0(wheel) 101(dns) > > I believe the correct behavior is to use commas in both cases. This > is consistent with both NetBSD and OpenBSD. > With the exception that NetBSD doesn't insert spaces after commas. Go ahead with this! Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message