今天我在我的服务器上安装并configuration了Munin。 我不喜欢它如何显示所有这些图表,没有任何login系统和authentication。 有没有办法给Munin设置authentication?
先谢谢你!
最简单的方法是使用Apache设置基本authentication :
<Directory "/path/to/munin"> AuthType Basic AuthName "Password Required" AuthUserFile /path/to/passwd Require valid-user </Directory>
然后你可以使用htpasswd命令来pipe理用户:
$ htpasswd -c /path/to/passwd user1