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.
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024
- Introduction to System Operations (SymOps) - October 30, 2024