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

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

One Response to “Command to change apache user password for SVN repo access”

  1. Roy Says:

    Thanks.. that’s exactly what I was looking for. I tested and it worked like a charm!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: