Native FreeBSD Kerberos/LDAP with FreeIPA/IDM

to achieve that we will add sshd user to its nslcd group.
Code:
pw usermod sshd -G nslcd

Careful with that one. If, for some reason, the sshd user was a member of additional groups, those would get removed.

This adds the sshd user to the nslcd group, leaving the additional groups sshd might be a member of in place.
pw groupmod nslcd -m sshd
 
Back
Top