The original posting was:
> Hello Managers,
>
> I've written perl pwpolicy script, as below, which checks simply that an
> entered password contains a mix of alphanumeric characters.
>
> If I run the script in isolation, and then check the result using "echo
> $?", then i see exit codes 0 & 1 as I would expect, but when called via
the
> password command i just get an illegal password error, for anything
entered
> at all.
>
> Other details are 4.0f pk7, Enhanced security.
>
Thanks to:
Tom Webster and Chris Adams for the perl insight, and;
Selcuk Karaca and Mark Deiss for the tty clarification.
I raised a call to HP regarding this in parallel, and was recommended the C
code as suggested by Spider Boardman, available at:
http://users.rcn.com/spiderb/sec/site-pwpolicy.c.txt
Cheers
N
Received on Tue Jun 17 2003 - 08:22:39 NZST