将用户添加到turnkeylinux.org、Trac 实例
我正在尝试快速启动并在 Trac 上运行以进行待处理的迁移。有人可以告诉我如何向 Trac 添加新用户吗?据我了解,trac 针对 apache 进行身份验证,它使用密码文件。我知道如何使用 htpasswd 但我不知道密码文件在哪里。我在这里走错路了吗?
I'm trying to get up and running on Trac quickly for a pending migration. Could someone tell me how to add new users to Trac. As I understand it trac authenticates against apache, which uses a password file. I know how to use htpasswd but I don't know where the password file is. Am I going down the wrong road here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在 Apache 配置中的某个位置(例如 mod_python.conf),您将有一行指定身份验证文件的位置:
当您查看该文件时,请查找 Trac 基本目录。它可以指定为:
使用
htpasswd
将它们添加到该文件后,您将需要将它们添加到 Trac,因此您需要运行trac-admin< /code>:
然后您可以发出
help
命令来了解如何将用户添加到 trac 等。Somewhere in your Apache configuration (like mod_python.conf) you'll have a line that specifies where the authentication file is:
While you're in looking at that file, look for the base Trac directory. It may be specified as:
Once you've used
htpasswd
to add them to that file, you'll want to add them to Trac, so you'll need to runtrac-admin
:You can then issue a
help
command to learn how to add users to trac, etc.结果我需要做的就是在我的跟踪站点所在的文件夹中使用 htpasswd 。然后我就可以使用 track 中的管理工具来授予该用户在 track 中的权限。
Turns out all I needed to do was use htpasswd in the folder where my track site was. And then I was able to use the admin tool in track to give that user permission in track.