yeah I just did a perl script which look like this
#!/usr/bin/perl print getpwnam("ipnoc"),"\n"; and this was my output === ipnocbb8mChsjCXn.c50005000/bin/bash === everything looks right except for the colons missing between the fields.. is that cause of perl? or what? On Wed, Oct 29, 2008 at 9:38 PM, Gustav Meirinho <[EMAIL PROTECTED]> wrote: > 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 > > >