From owner-cvs-all Wed May 9 20:29:48 2001 Delivered-To: cvs-all@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 8EC0837B424; Wed, 9 May 2001 20:29:42 -0700 (PDT) (envelope-from sethk@meow.osd.bsdi.com) Received: (from sethk@localhost) by meow.osd.bsdi.com (8.11.2/8.11.2) id f4A3TVW68118; Wed, 9 May 2001 20:29:31 -0700 (PDT) (envelope-from sethk) Date: Wed, 9 May 2001 20:29:31 -0700 From: Seth Kingsley To: "David O'Brien" Cc: Sheldon Hearn , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: doc/en_US.ISO_8859-1/books/faq book.sgml Message-ID: <20010509202931.G56979@meow.osd.bsdi.com> References: <200104280717.f3S7HLE11599@freefall.freebsd.org> <20174.988645110@axl.fw.uunet.co.za> <20010430092707.B12606@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010430092707.B12606@dragon.nuxi.com>; from obrien@FreeBSD.ORG on Mon, Apr 30, 2001 at 09:27:07AM -0700 Organization: Berkeley Software Design Inc. (BSDi) X-Operating-System: FreeBSD 4.2-STABLE i386 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Apr 30, 2001 at 09:27:07AM -0700, David O'Brien wrote: > > Is there any compelling reason for su to continue to use this pretty > > lame diagnostic? A lot of the instances of this FAQ would be dealt with > > by using the message: > > > > "only members of group wheel may su to root" How about: Index: su.c =================================================================== RCS file: /ncvs/src/usr.bin/su/su.c,v retrieving revision 1.36 diff -u -r1.36 su.c --- su.c 2001/03/27 19:40:51 1.36 +++ su.c 2001/05/10 03:18:30 @@ -322,7 +322,7 @@ if (gid == 0) break; else - errx(1, "you are not in the correct group to su %s.", user); + errx(1, "you are not in the correct group (%s) to su %s.", gr->gr_name, user); } if (strcmp(username, *g) == 0) { #ifdef WHEELSU -- || Seth Kingsley || BSDi/Open Source Division || sethk@osd.bsdi.com || To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message