基础环境
①防火墙
jiangzz@ubuntu:~$ sudo ufw status
Status: inactive
jiangzz@ubuntu:~$ sudo ufw version
ufw 0.36
Copyright 2008-2015 Canonical Ltd.
②开启远程root账户登录
jiangzz@ubuntu:~$ sudo vi /etc/ssh/sshd_config
...
PermitRootLogin yes
...
③安装Kerberos
jiangzz@ubuntu:~$ sudo apt install krb5-kdc krb5-admin-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
krb5-config krb5-user libgssrpc4 libkadm5clnt-mit11 libkadm5srv-mit11 libkdb5-9 libverto-libevent1 libverto1
Suggested packages:
krb5-kpropd krb5-kdc-ldap krb5-k5tls krb5-doc
The following NEW packages will be installed:
krb5-admin-server krb5-config krb5-kdc krb5-user libgssrpc4 libkadm5clnt-mit11 libkadm5srv-mit11 libkdb5-9 libverto-libevent1 libverto1
0 upgraded, 10 newly installed, 0 to remove and 43 not upgraded.
Need to get 564 kB of archives.
After this operation, 2,272 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
|