kadmin hosts
时间: 2023-06-21 17:10:50 浏览: 96
lua-kadmin
`kadmin` is a command-line utility used to administer Kerberos. The `hosts` subcommand is used to manage the host-based access control (HBAC) policy in Kerberos. This command allows you to add, delete, and list hosts that are allowed or denied access to the Kerberos realm.
Here are some examples of using `kadmin hosts`:
- To add a host to the allowed list:
```
kadmin: add_host -allow host.example.com
```
- To add a host to the denied list:
```
kadmin: add_host -deny badhost.example.com
```
- To remove a host from the allowed list:
```
kadmin: delete_host -allow oldhost.example.com
```
- To list all hosts in the allowed and denied lists:
```
kadmin: list_hosts
```
阅读全文