CentOS 安装Kerberos服务

CentOS 安装参考:

2. 安装 Kerberos

Kerberos服务安装

Ubantu安装参考:

Ubuntu_Kerberos配置过程记录

Ubuntu 14.04-Kerberos安装和配置

1、在安装kerberos服务之前,首先要配置本地DNS服务器(不需要在域环境中,搭建dns参考:centos7安装dnsmasq局域网dns),或者修改hosts文件。

2、Ubantu下:

删除Kerberos:

sudo apt-get remove --purge krb*

 

3、如果需要重建数据库,查找principal文件所在的目录,然后将该目录下的principal相关的文件删除即可(不能删除文件principal)

4、错误:

kinit: Cannot contact any KDC for realm 'TOPSEC.COM' while getting initial credentials
解决方法:可能是1、kdc的防火墙没有关; 2、krb5kdc服务没有启动。 并不需要解析域名 TOPSEC.COM

systemctl stop firewalld.service   ##停止防火墙
systemctl disable firewalld.service  ##禁止防火墙开机启动
 

5、centos7,启动kdc 服务

systemctl restart krb5kdc
systemctl restart kadmin

6、CentOS 7 设置Kerberos 认证的NFS共享,该文中没有配置dns服务器,而是配置hosts文件,但是重复其实验,未成功。

  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值