[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Adding admin users


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/
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.