Interview Prep/Linux/SSH, sudo and authentication

LDAP/AD users can't log in: `id aduser` returns `no such user`, but local users are fine.

IntermediateTroubleshootingSSH, sudo and authentication
Answer

Likely causes → SSSD down or offline, DNS can't find domain controllers, Kerberos clock skew, or the computer account in AD is broken.

Diagnose →

systemctl status sssd
sudo sssctl domain-status corp.example.com
dig -t SRV _ldap._tcp.corp.example.com
chronyc tracking
sudo journalctl -u sssd -n 50

Fix → Restart SSSD after fixing DNS/time; clear the cache (sss_cache -E); rejoin the domain if the machine account is broken (realm leave / realm join).

Prevent → Monitor SSSD domain status and time sync; keep a local break-glass admin.

All Linux questions Roadmap: Linux

More on SSH, sudo and authentication