Date: Thu, 1 Mar 2001 12:00:49 -0800 From: Rich Morin <rdm@cfcl.com> To: freebsd-doc@FreeBSD.ORG Subject: Re: docs/25405: misleading warning from catman(1), etc. Message-ID: <p05001908b6c455f36921@[192.168.168.205]> In-Reply-To: <200103011110.f21BA3c63369@freefall.freebsd.org> References: <200103011110.f21BA3c63369@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At 3:10 AM -0800 3/1/01, Ben Smithurst wrote: > RTFM... That's not what you're doing, you're passing the text string > into 'su', which simply runs a shell as user 'man' which then executes > the command /usr/bin/catman as that user. Well, I actually did RTFM, but I saw nothing that seemed to describe the behavior I encountered. Certainly, the su(1) man page says nothing about taking input from standard input. It does say "A shell is then executed.", so perhaps I should have figured it out by considering the behavior of sh: echo ls | sh This calls for a bit more reading between the lines than I would wish, however; perhaps some explanation and an example might be in order. -r -- -- http://www.cfcl.com/rdm email: rdm@cfcl.com phone: +1 650-873-7841 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05001908b6c455f36921>