[j-nsp] Logging for shell sessions

Phil Mawson via juniper-nsp <[email protected]> Sat, 6 Jul 2024 16:21:16 +1000
Newsgroups gmane.network.nsp.juniper
Message-ID <[email protected]>
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.
_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp