echo "(ip address) freeipa.abangher.id freeipa" >> /etc/hosts
ipa-client-install --hostname=`hostname -f` \
--mkhomedir \
--server=freeipa.abangher.id \
--domain abangher.id \
--realm ABANGHER.ID
masukan USER& PASSWORD
sudo apt remove --purge freeipa-client
sudo apt-get install freeipa-client
/etc/nsswitch.conf
passwd: compat systemd sss
group: compat systemd sss
shadow: compat sss
gshadow: files
hosts: files dns
networks: files
protocols: db files
services: db files sss
ethers: db files
rpc: db files
netgroup: nis sss
sudoers: files sss
bash -c "cat > /usr/share/pam-configs/mkhomedir" <<EOF
Name: activate mkhomedir
Default: yes
Priority: 900
Session-Type: Additional
Session:
required pam_mkhomedir.so umask=0022 skel=/etc/skel
EOF
sudo pam-auth-update
Tidak ada komentar:
Posting Komentar
Thanks for comment, menunggu approve admin blog