A-S
#apt –y install krb5-user libpam-krb5 ldap-utils
#scp 192.168.0.4:/etc/krb5.conf /etc
#kadmin -p admin
:addprinc -randkey host/a-s.alpha.com
:ktadd host/a-s.alpha.com
#chmod 777 /etc/krb5.keytab
#apt -y install libnss-ldapd
#echo ‘session optional pam_mkhomedir.so’ >> /etc/pam.d/common-session
#reboot
A-CLI
#apt –y install krb5-user libpam-krb5 ldap-utils
#scp 192.168.0.4:/etc/krb5.conf /etc
#kadmin -p admin
:addprinc -randkey host/a-cli.alpha.com
:ktadd host/a-cli.alpha.com
#chmod 777 /etc/krb5.keytab
#apt -y install libnss-ldapd
#echo ‘session optional pam_mkhomedir.so’ >> /etc/pam.d/common-session
#reboot
B-CLI
#apt -y install krb5-user libpam-krb5 ldap-utils
#scp 192.168.2.2:/etc/krb5.conf /etc
#kadmin -p admin
:addprinc -randkey host/b-cli.bravo.com
:ktadd host/b-cli.bravo.com
:quit
#chmod 777 /etc/krb5.keytab
#apt –y install libnss-ldapd
#echo ‘session optional pam_mkhomedir.so’ >> /etc/pam.d/common-session
#reboot
'OS > Linux' 카테고리의 다른 글
[21전국] 1과제 9. WEB (0) | 2021.11.09 |
---|---|
[21전국] 1과제 8. MAIL&CHAT (0) | 2021.11.09 |
[21전국] 1과제 6. Kerberos&LDAP (0) | 2021.11.09 |
[21전국] 1과제 5. DHCP 구성 (0) | 2021.11.09 |
[21전국] 1과제 4. NAT 구성 (0) | 2021.11.09 |