Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2001 14:41:05 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Dima Dorfman <dima@unixfreak.org>
Cc:        audit@FreeBSD.ORG
Subject:   Re: Short patch to id(1)
Message-ID:  <20010518144105.A65354@sunbay.com>
In-Reply-To: <20010518052635.2DE963E28@bazooka.unixfreak.org>; from dima@unixfreak.org on Thu, May 17, 2001 at 10:26:35PM -0700
References:  <20010518052635.2DE963E28@bazooka.unixfreak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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