如何在本地更改 WebDAV 密码

发布于 2024-10-03 19:48:59 字数 82 浏览 7 评论 0原文

我不知道如何更改 webdav 密码。我做了一些搜索,找到了许多有关如何向 webdav 添加新用户的资源,但没有找到有关更改密码的资源。有人知道吗?

I can't figure out how to change the webdav password. I've done some searching, found many resources of how to add a new user to webdav, but nothing about changing password. Anyone know?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

两个我 2024-10-10 19:48:59

密码存储在 webdav.htpasswd 文件中。

如果您打开它,您将看到这样的条目

wampp:XAMPP with WebDAV:bc7f2b670e7e965e307feb30492e642e

这是 user wampp: in realm XAMPP 的条目使用 WebDAV:使用加密的密码

要更改密码,您应该使用 htdigest.exe。

请参阅手册。它用于创建和更新用户身份验证文件。您应该在 xampp 安装的 bin 目录中找到。

为此,请执行以下操作:

htdigest.exe“pathto/webdav.htpasswd”“XAMPP with WebDAV”您的用户名

这将被返回:
在领域“XAMPP with WebDAV”中添加用户 yourusername

然后系统会要求您输入用户名的密码

新密码:您的密码

重新输入新密码:yourpassword

参考:http://www.apachefriends.org/f/viewtopic.php?f=16&t=38897

Passwords are stored in webdav.htpasswd file.

If you open it, you will see an entry like this

wampp:XAMPP with WebDAV:bc7f2b670e7e965e307feb30492e642e

That's the entry for user wampp: in realm XAMPP with WebDAV: with password which is encrypted.

To change password, you should use htdigest.exe.

See manual. It is used to create and update user authentication files. You should find in the bin directory of xampp installation.

To do that, do :

htdigest.exe "pathto/webdav.htpasswd" "XAMPP with WebDAV" yourusername

This will be returned:
Adding user yourusername in realm "XAMPP with WebDAV"

You will then be asked for the password for yourusername

New password: yourpassword

Re-type new password: yourpassword

Reference: http://www.apachefriends.org/f/viewtopic.php?f=16&t=38897

极度宠爱 2024-10-10 19:48:59

将文件 C:\Program Files\xampp\security\htpasswd.webdav 的内容替换为您的用户名、冒号和密码。注意:任何能看到此文件的人都可以看到密码!

Replace the content of the file C:\Program Files\xampp\security\htpasswd.webdav with your username, a colon and the password. Note: Everyone who can see this file can see the password!

哑剧 2024-10-10 19:48:59

假设您正在讨论从客户端在服务器上更改密码,我不认为 WebDAV 支持此类事务。

您可以使用 shell 登录或基于 Web 的管理页面之类的方法来执行此操作。

对于许多网络服务(例如 FTP 或电子邮件)来说,这总是让我感到奇怪。不过这似乎很常见。

Assuming you're talking about doing a password change at the server from a client, I don't believe WebDAV supports such a transaction.

You'd use something like a shell logon or a Web-based admin page to do this.

This always struck me as odd for a lot of network services, for example FTP or email. It seems to be common though.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文