Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to add users to SVN under Linux

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to add users to SVN under Linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

1. Find the installation directory of SVN

If the SVN process has been started, it can be queried via ps-ef | grep svn

If the SVN process is not started, it can be queried by find /-name svn

2. Enter the conf folder of this directory, which contains three files: authz, passwd and svnserve.conf

3. Vim passwd modifies passwd and adds the svn account and password you want to add in the format:

Username1 = password1

Username2 = password2

If the file is read-only, log in to root user to modify, su. Then wq saves it.

4. Enter authz, and add the user name added in passwd. The format is:

Www=username1,username2

Then save the wq

5. Restart the svn process (the test does not require a restart to take effect)

Find the svn process ID ps-ef | grep svn, and then use kill-9 processid to kill the process, or kill the process through killall svnserve

Start the svn:sudo svnserve-d-r installation path

The svn started in this way is on the default port 3690. You can see the started port through netstat-nultp. If you want to start on the specified port, you can start it with the following command:

Svnserve-d-r installation directory-listen-port 10001

The above is all the content of the article "how to add users to SVN under Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report