Command to change apache user password for SVN repo access

It took a while for me to figure out this command. I thought of sharing this one here –

Syntax:

sudo htpasswd -b <.passwd file> <username> <pass>

Ex:

sudo htpasswd -b svn.passwd  anil <pass>

Documentation link here –¬†http://httpd.apache.org/docs/2.0/programs/htpasswd.html

Posted in apache, svn. Tags: , . 1 Comment »