Solved Was there a default or suggested uid and gid for svn user?

Currently installing Subversion from packages does not seem to create a svn user and group, so one will need to create them.

Was there a default uid and gid for svn in the past, when Subversion was more used, or at least a suggested value, like for example www's id is 80, etc?

Edit: Out of curiosity, what uid and gid were used on FreeBSD official svn server?

Many thanks in advance,
 
Looking at the /usr/ports/{GID,UID}s history, there never was a (proper) svn/subversion user defined. The port uses its own magic to create the user/group (or re-use existing ones) NOT specifying the gid/uid.
 
You can do that if you have ports tree checked out using git (those are just files in root of the checkout): git log -p UIDs GIDs, and search for whatever changes you want.
 
Don't know, can't tell. Not at all important anyway as long as it's running on some user account. You don't want to have this service running on the root account and that's all that matters.
 
Thank you, good to know.

Yes, our Subversion is also running in a dedicated jail. I just need to keep all UIDs and GIDs syncronised, per our policy. Where possible it is good for us to use preferred values.

Thank you again,
 
This is what I did:

Bash:
pw add group -n svn -g 700
pw add user -n svn -u 700 -c 'svn user' -d /nonexistent -s /usr/sbin/nologin -g svn
 
Back
Top