sudo and LDAP

Dan Nelson dnelson at allantgroup.com
Mon Jul 3 06:22:33 UTC 2006


In the last episode (Jul 02), ACM Staff said:
> Ok, so I am running a box with 6.0-STABLE
> 
> Problem is I can't get sudo working for my LDAP based users. I
> compiled sudo from the ports tree with LDAP support.  Here is some
> output
> 
> as a user:
> 
> notroot at risk:~$ id notroot
> uid=2018(notroot) gid=200(acm) groups=200(acm), 203(officers),
> 201(staff), 204(staffers)
> notroot at risk:~$ sudo ls
> Password:
> Sorry, try again.

Have you created a pam.d/sudo file, or edited your pam.d/other file to
include pam_ldap.so?  I recommend copying the pam.d/su file, then
editing pam.d/system to include pam_ldap.so.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list