Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Add User to SVN Server and Set Password.

Method 1 – Using The passwd File

The passwd file, located inside the conf folder of your SVN repository is a file that stores every user that have access to the repository with its password in plain text format.

You can edit the file using an SFTP client or even from the command line using VIM or NANO.

The content of the file follows a very simple format, on every line inside the users block you can add a new user by following the format “username” equal “password”:

[users]
username1 = password1
username2 = password2
username3 = password3

Method 2 – Using Command line

If you are creating very first user, you need to add –c switch in above command, which will create the file.

htpasswd -c /etc/subversion/passwd user_name

You can check existence of the file or list of configured users using following command cat /etc/subversion/passwd

You might need to execute above commands as super user.

Method 3 – Using Command line

To add user, use following command

htpasswd /etc/subversion/passwd user_name

Specify user_name with the username you wish to add in above command. It will prompt to provide password for the user.

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x