i solved following the last answer in this post: https://superuser.com/questions/1086152/sudo-sending-annoying-alerts-issue-with-defaults-entries
adding ssh and sudo to the services option in the sssd section of sssd.conf worked for me: ### sssd.conf [sssd] services = nss, sudo, pam, ssh i'm not using freeipa so i don't know if the freeipa-clients install problem reported in the cited post still persist. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1249777 Title: libsss-sudo generated nsswitch.conf leads to error messages upon sudo invocation To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1249777/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs