Date: Wed, 9 May 2001 20:29:31 -0700 From: Seth Kingsley <sethk@osd.bsdi.com> To: "David O'Brien" <obrien@FreeBSD.ORG> Cc: Sheldon Hearn <sheldonh@uunet.co.za>, 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> In-Reply-To: <20010430092707.B12606@dragon.nuxi.com>; from obrien@FreeBSD.ORG on Mon, Apr 30, 2001 at 09:27:07AM -0700 References: <200104280717.f3S7HLE11599@freefall.freebsd.org> <20174.988645110@axl.fw.uunet.co.za> <20010430092707.B12606@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010509202931.G56979>