[thelist] admin: late posts

Peter Hammar phammar at dplanet.ch
Mon Nov 5 17:01:25 CST 2001


> <tip type="easy apache password protection">
...
> To add users to the file, use the htpasswd utility like so:
> htpasswd -c /home/youruser/apache.passwd <user>
> It will prompt you for a password for the <user> name you enter
...
> </tip>

Hi,
Is there a way to do this without having access to the server prompt?
i've tried w/ php's exec function but was blocked by the 'prompt for
password' part.

htpasswd's man page doesn't mention a -p switch to enter the password
directly.

Thank you,
Peter







More information about the thelist mailing list