kevinlincdf
Level 1
Level 1
Member since ‎12-11-2023
‎01-12-2024

User Statistics

  • 2 Posts
  • 0 Solutions
  • 0 Helpful votes Given
  • 0 Helpful votes Received
Recent Badges
FirstQuestion

User Activity

OS: Ubuntu 20 or Ubuntu 22There is a /etc/profile.d/cmdlog.sh with the following contents:function log2syslog {declare COMMANDCOMMAND=$(fc -ln -0)logger -p local2.notice -t cmdlog -- "${USER} ${PWD} [${COMMAND}]"}trap log2syslog DEBUGThere is a /etc/...
There is a /etc/profile.d/cmdlog.sh that content is:function log2syslog {declare COMMANDCOMMAND=$(fc -ln -0)logger -p local2.notice -t cmdlog -- "${USER} ${PWD} [${COMMAND}]"}trap log2syslog DEBUGThere is a /etc/rsyslog.d/66-cmdaudit.conf that conten...
Community Statistics
Member Since ‎12-11-2023 11:59 PM
Date Last Visited ‎01-12-2024 12:28 AM
Posts 2