help with system( )
am 24.01.2008 23:16:36 von sansbacon
i am looking to automate the creation of username/passwords for digest
authentication via a simple perl script. i found a module on cpan for
htpasswd but not htdigest.
the system call is htdigest /usr/local/apache/passwd/digest realm
username
then you are prompted to enter and reenter the password
how do i send the password via a perl script?
thank you for your assistance,
eric
Re: help with system( )
am 24.01.2008 23:55:51 von Keith Keller
On 2008-01-24, sansbacon@gmail.com wrote:
> i am looking to automate the creation of username/passwords for digest
> authentication via a simple perl script. i found a module on cpan for
> htpasswd but not htdigest.
>
> the system call is htdigest /usr/local/apache/passwd/digest realm
> username
>
> then you are prompted to enter and reenter the password
> how do i send the password via a perl script?
Look for the Perl Expect module.
--keith
--
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
see X- headers for PGP signature information