[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#21810: Processed:



On Thu, Oct 28, 1999 at 06:55:09 +1000 (+0000), Herbert Xu wrote:
> On Wed, Oct 27, 1999 at 07:41:55PM +0200, Martin Schulze wrote:
> > 
> > Well, that's no reason why Linux (or Debian) must not follow the
> > documentation, right?  I would appreciate a solution, and just
> > thinking about backend and frontend I would believer that the
> > user program (rexec(1)) should prompt while the backend call
> > (rexec(3)) should be silent.
> 
> rexec(1) can't prompt at the moment because the netrc search is done in
> ruserpass() called by rexec(3).

and rexec(3) carries on regardless of whether ruserpass() found something or
not :-(

I would have thought something like this was reasonable to both parties:

rexec(1)
   rexec(3)
     ruserpass
    (return "no entry")
   (return "no entry")
prompt user

I can understand that the glibc developers don't want to do the prompting,
but it's unacceptable for either .netrc to be useless or for rexec to
segfault.  The only other app that does this is netscape (and at least
that's not ridiculously simple to trigger).

Adrian

email: adrian.bridgett@iname.com,    http://www.poboxes.com/adrian.bridgett
Windows NT - Unix in beta-testing.   PGP key available on public key servers
Debian GNU/Linux  -*-   because I'm allergic to Prozac   -*-  www.debian.org


Reply to: