[j-nsp] Logging for shell sessions

Phil Mawson phil.mawson at gmail.com
Sat Jul 6 02:21:16 EDT 2024


Hi,

Once a user enters the unix shell on a Juniper router/switch (Ie: start shell), it appears all standard logging of the commands typed is not captured by syslog and obviously not sent to AAA for authorisation.
 
Is there a way to capture all commands users type and send to an external logging source?  Looking through Juniper doc doesn’t have much info on this.  I’d expect we’d need something running at the kernel level on BSD.

Understand the commands are logged in the bash history file, but ideally need this to go off the router for audit purposes in real time.

Cheers,
Phil.


More information about the juniper-nsp mailing list