An Exploring South African

Things to do in Cape Town, the Helderberg, and the Cape Winelands

Menu

Skip to content
  • About
  • Explore

Ubuntu Subversion: How to Change a SVN User Account Password CodeUnit 04 FEB 2013

If you control access to your SVN repository via Apache authentication, then you’ll undoubtedly have a password file somewhere on your system, containing the list of all the users who have an account that can access your SVN repo.

The standard file used by Subversion for this task is located at /etc/subversion/passwd.

Now that we know that, changing a user account’s password used to access the SVN is relatively trivial, and achieved through the use of the Linux htpasswd function.

First, let’s grab a list of all user accounts currently with access to your SVN repository:

cat /etc/subversion/passwd

Now let’s change a user’s password by making use of the -m switch to specify a password change using MD5 encryption, where usertomodify is the username of the user you wish to affect.

sudo htpasswd -m /etc/subversion/passwd usertomodify

Done. Note that the call without a switch would attempt to add a new user account, with a -D switch would remove the specified user and with a -c switch would create a new user but overwrite your existing password file!

Nifty.

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pinterest (Opens in new window)

Related

Monday 04/02/2013CodeUnithtpasswd, passwd, subversion, svn, ubuntu, user accountCraig Lotter

About Craig Lotter

Software developer, husband and dad to two little girls. Writer behind An Exploring South African. I don't have time for myself any more. View all posts by Craig Lotter →

Post navigation

← Tony S. Daniel and Richard Friend: Justice League Vol. 2 #13 Cover (2012) XAMPP on Windows 7: Solving “client denied by server configuration” VirtualHost Error →

An Exploring South African

Curiosity, travel, and discovering new places. Craig Lotter's An Exploring South African is primarily a South African travel blog of things to do in and around Cape Town, the Helderberg, and the Cape Winelands.

Craig Lötter

A South African software developer at Touchwork, Craig Lotter is a husband to a cake baker, father to two young girls, and someone who is constantly looking for new places to explore. He is also not that bad of a writer either.

   

Instagram

View from the dry and dusty (thanks Summer) hill that Durbanville Hills finds itself perched upon. #tablemountain #thetangram #tangram #tangramrestaurant #wineestate #durbanvillehills #durbanvillehillswine #durbanville #southafrica #anexploringsouthafrican
Pork Belly starter, Springbok Venison main, and of course a lot of wonderful Durbanville Hills wine. Great lunch out at The Tangram at Durbanville Hills wine estate. #venison #springbok #thetangram #tangram #tangramrestaurant #wineestate #durbanvillehills #durbanvillehillswine #durbanville #southafrica #anexploringsouthafrican
Work lunch engagement out at The Tangram @ Durbanville Hills wine estate. Definitely worth the drive! #thetangram #tangram #tangramrestaurant #wineestate #durbanvillehills #durbanvillehillswine #durbanville #southafrica #anexploringsouthafrican
Blue skies and softserve ice cream on the wall. #promenade #strandpromenade #beachwalk #beach #strandbeach #strand #helderberg #southafrica #anexploringsouthafrican
Beach soccer. #beachsoccer #soccer #beachwalk #beach #strandbeach #strand #helderberg #southafrica #anexploringsouthafrican
My tracks in the sand are more like footplods than footprints 😅 #beachwalk #sanddunes #beach #strandbeach #strand #helderberg #southafrica #anexploringsouthafrican

Subscribe via Email

Enter your email address to subscribe to this blog and receive notifications of new content via email.

Copyright © 2007-2021 Craig Lotter | Rugged Rock Studio | Proudly powered by WordPress