How can Implement accounting on a unix system using pam_radius ? pam_radius configuration is easy for authentication.
But I confused to find a way for accounting.
In accounting we send some AVP's to 1813 port of radius server. However how can I do this method on pam_radius ?
For example I have following config on /etc/pam.d/radius :
auth sufficient pam_radius_auth.so account sufficient pam_radius_auth.so session sufficient pam_radius_auth.so password sufficient pam_radius_auth.so
And test my config with pamtester :
pamtester radius ali authenticate Password: pamtester: successfully authenticated
Radius server already running and authentication was successful.
But where is accounting on pam_radius module ?