Sample Header Ad - 728x90

Accounting with pam_radius

0 votes
2 answers
740 views
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 ?
Asked by alirezaarzehgar (101 rep)
Nov 22, 2021, 12:40 PM
Last activity: Oct 28, 2024, 02:39 PM