本文介绍了更新Subversion服务器配置文件不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试更新我的Subversion配置,以便它不会以明文形式存储密码.我了解您需要通过添加以下行来更新〜/.subversion/servers文件中的配置,以防止出现这种情况:"store-plaintext-passwords = no".

I'm trying to update my Subversion configuration so that it won't store passwords in plaintext. I understand that you need to update the configuration in the ~/.subversion/servers file to prevent this by adding a line: "store-plaintext-passwords = no".

我已经做到了,但是我的Subversion客户端继续向我显示标准警告:

I've done this, but my Subversion client continues to show me the standard warning:

———————————————————————————————————-
ATTENTION! Your password for authentication realm:

RainStorm Subversion Repository
can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.

You can avoid future appearances of this warning by setting the value
of the ‘store-plaintext-passwords’ option to either ‘yes’ or ‘no’ in
’/home/.subversion/servers’.
———————————————————————————————————-

我尝试注销并从终端再次登录,但这似乎没有什么不同.我认为使用SVN只是一个CLI工具,而不是必须重新启动的守护程序,但是我并不乐观.

I've tried logging out and logging back in again from the terminal, but that doesn't seem to make a difference. I assume that with SVN it's just a CLI tool and not a daemon that I have to restart, but I'm not positive.

可能会发生什么?

推荐答案

要禁用警告,请编辑您的~/.subversion/servers文件.
向其添加/修改以下部分:

To disable the warning, edit your ~/.subversion/servers file.
Add/modify the following section to it :

[global]
store-plaintext-passwords=no

这篇关于更新Subversion服务器配置文件不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 14:07