.htpassswd and perl
Posted on 1997-11-03
I have just setup a .htpasswd password thing on one of the directories of my web page. I would like to have a perl script that would create user names and passwords. I think the easiest way for it to work, would be to have it run some UNIX comands. But I do not know how to get it to do that. Because when you are adding a user it asks for the password twice. Here is the commands that I use (when in my telnet app).
htpasswd .htpasswd USER NAME
then asks for password twice so I type it in twice. That is what I can't figure out how to do. I know it can be done cause experts-exchange uses it for their member system.