Subversion With Apache Post-commit Hooks

benjackson

Registered
Hi,

I'm running subversion 1.2 under Apache 2 as www/www. I'd like to set up a post-commit hook to rsync to my remote backup.

I already have a pub/priv key pair on my user account, however I assume that I'd need to configure this for the www user as well since the hooks run as whatever user the repository is being served from, right?

So I just wanted to confirm a couple of things:

1. I don't know off the bat what the default password for user www is. How do I change it? /etc/passwd has a comment referring to netinfo, but I've never used netinfo to change passwords and am a little wary of messing around in it.

2. Would it be better to just create a new user (something like "svn") and run apache as that user?

Thanks,

Ben
 
Back
Top