Identify and Fix Pluggable Authentication (PAM) Issues
Identify and Fix Pluggable Authentication (PAM) Issues
(PAM) issues
Identify and fix pluggable authentication
(PAM) issues
Introduction
In this exercise, you will need to troubleshoot and resolve authentication issues
preventing Samba access.
Resolve authentication issues preventing the Samba user cloud_user from listing the
Samba shares on the localhost using the password "Welcome1".
Solution
Start by logging in to the lab server using the credentials provided on the hands-on lab
page:
ssh cloud_user@PUBLIC_IP_ADDRESS
sudo su -
Verify the Samba service
Password: Welcome1
tail /var/log/secure
tail /var/log/samba/log.smbd
3. View the PAM service file:
cat /etc/pam.d/samba
rpm -V samba
mv /etc/pam.d/samba /root/samba.pam.old