[ic] Adding admin users
Jon Jensen
jon at endpoint.com
Fri Jun 10 13:11:53 EDT 2005
On Fri, 10 Jun 2005, Davor Ocelic wrote:
>> Can anyone tell me how to add admin users or point me toward some docs
>> on the subject? I would add them to access.asc manually but it looks
>> like the password in there is encrypted.
>
> Yeah, it could be encrypted.
>
> I don't remember offhand if it is by default simple Unix crypt (in that
> case the encrypted password has 13 characters), or it's MD5 digest.
>
> In any case, you can create the encrypted pwds with:
>
> 1) makepasswd --crypt
> makepasswd --crypt-md5
>
> 2) or help yourself with htpasswd/htpasswd2 and htdigest/htdigest2
> that come with apache (htpasswd for crypt(), htdigest for MD5):
>
> htpasswd2 -c /tmp/temp test
> htdigest2 -c /tmp/temp test test
It's done with simple Unix crypt by default.
To have Apache's htpasswd output to stdout instead of a file, you can do:
htpasswd -n test
Jon
--
Jon Jensen
End Point Corporation
http://www.endpoint.com/
More information about the interchange-users
mailing list