I'm using a FreeBSD machine in which PAM is taking care of authentication. All the users are authenticated using PAM. Users whose information is configured in Radius server are also getting authenticated successfully. We have some configuration to do that in PAM something like
My requirement is that after authentication, I need to fetch the group of the user and store it in a file. The groups command is fetching the information of the local users. But I'm getting
when I try to find the non-local user's (residing in Radius server) group. I'm new to FreeBSD, Radius and PAM.
Does anybody know whether I can use any other command to get this information in FreeBSD?
Thanks in advance
Code:
auth required pam_radius_auth.so ....
My requirement is that after authentication, I need to fetch the group of the user and store it in a file. The groups command is fetching the information of the local users. But I'm getting
Code:
user not found
Does anybody know whether I can use any other command to get this information in FreeBSD?
Thanks in advance