On Fri, 2002-08-16 at 11:21, Jeff Mandel wrote:
> 2) The wacky thing here is that \user actually returns successful with NIS.
> jeff@host% getent passwd jeff
> jeff:x:6789:6789::/export/home/jeff:/bin/ksh
> jeff@host% getent passwd \jeff
> jeff:x:6789:6789::/export/home/jeff:/bin/ksh

Not quite right.  Your shell handled the "\j" and determined that it
should have just been "j".  As such, the getent command really saw
"jeff", not "\jeff".  The proper test would have been

   jeff@host% getent passwd \\jeff

In this case your shell would have translated "\\jeff" into "\jeff"
before sending it as an argument to getent.

Mike

Reply via email to