简体   繁体   English

如何使用ubuntu和apache2设置对Webmin的访问

[英]How to setup access to webmin with ubuntu and apache2

One of the directions say that /etc/webmin/htusers must match the users in /etc/webmin/webmin.acl 指示之一表明/ etc / webmin / htusers必须与/etc/webmin/webmin.acl中的用户匹配

Although after finishing installation, htusers file didn't exist... so I created it. 尽管完成安装后,htusers文件不存在...所以我创建了它。 Now I don't know what needs to go in that file, or in what format. 现在,我不知道该文件中需要包含什么内容或以什么格式保存。

My webmin.acl file contains one line starting with "root:" 我的webmin.acl文件包含以“ root:”开头的一行

I'm able to browse to the webmin site, just unable to authenticate. 我能够浏览到webmin网站,只是无法进行身份验证。

Thanks! 谢谢! Mike 麦克风

尝试htpasswd -m hgusers username ,应该这样做。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM