Try this:

    # perl -e 'print getpwnam "username",$/'

   




Ilo Lorusso escreveu:
if getpwnam() is a system library routine and not a command how would
I go about performing those tests?

please forgive my ignorance ..

On Wed, Oct 29, 2008 at 8:44 PM, Wietse Venema <[EMAIL PROTECTED]> wrote:
  
Postfix uses the standard getpwnam() system library routine to
determine if a user exists.

You should do your tests with getpwnam(), not with the
getent command.

       Wietse

    

  

Reply via email to