From owner-freebsd-bugs Fri May 31 17: 8:10 2002 Delivered-To: freebsd-bugs@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id B540637B42F; Fri, 31 May 2002 17:07:53 -0700 (PDT) Date: Fri, 31 May 2002 17:07:53 -0700 From: "J. Mallett" To: Jens Schweikhardt Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/38308: su(1) prints bogus help message; inconsistent man page Message-ID: <20020531170753.A64280@FreeBSD.ORG> References: <200205270623.g4R6Nc034004@freefall.freebsd.org> <20020531104022.A57772@schweikhardt.net> <20020531114726.A11429@FreeBSD.ORG> <20020601000756.A70579@schweikhardt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020601000756.A70579@schweikhardt.net>; from schweikh@schweikhardt.net on Sat, Jun 01, 2002 at 12:07:56AM +0200 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , X-Affiliated-Projects: FreeBSD, xMach, ircd-hybrid-7 X-Towel: Yes Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * From Jens Schweikhardt > On Fri, May 31, 2002 at 11:47:26AM -0700, J. Mallett wrote: > # * From Jens Schweikhardt > # > > # > Does this mean you can't reproduce the --help message? > # > It could be a PAM thing... > # > If you can reproduce the message I think you should reopen the PR. > # > At least the man page should be fixed accordingly. > # > > # > # freefall% grep -r -- '--help' /home/ncvs/src/usr.bin/su/ > # freefall% > > Yes, I know it's not in the su source because I serached there too. > That's why I suspect it's a PAM thing. su does use PAM, right? Excuse me > for being dense, but you still haven't answered if you can reproduce the > help message. I still consider su's help message a bug. A tool that > prints "Use su --help for help" but doesn't support --help has a bug > that needs to be fixed. Please reopen the PR. I can't reproduce it Jens. My point was that not only does it not print that message, but I can find nothing in its source that would cause it to ever have done so. I don't see how its usage() would be overwritten by one from PAM, and I can, again, NOT get it to print that message. I suspect you have a modified version of su installed. -- J. Mallett FreeBSD: The Power To Serve "I've coined new words, like, misunderstanding and Hispanically." -- George W. Bush, Radio-Television Correspondents Association dinner, Washington, D.C., March 29, 2001 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message