This article discusses differences in behavior of SRX when TACACS or RADIUS is used for system accounting. Although the article is focused on the SRX it applies to all Junos platforms.
Different behavior is seen for TACACS and RADIUS in the following scenarios:
On the SRX, accounting for TACACS is handled by ' mgd ' process which accounts for commands getting executed on CLI as well as in background. Whereas accounting for RADIUS is handled by ' Auditd ' process; this process only does accounting for commands executed on the CLI. Commands sent to accounting server:
#load set terminal
This behavior is as expected and by design.