Get user creation dates:
bzgrep "Successfully created user" /var/log/system.log* | awk '{print $1, $2, $3, "-> User Created:", $NF}' | uniq
Get OpenVPN connections per user (newest at bottom):
bzgrep -E "user '.*' authenticated" /var/log/openvpn.log*
Enterprise Infrastructure & Security Support
Need assistance hardening your network perimeter, orchestrating Hyper-V clusters, deploying SentinelOne EDR, or configuring multi-tenant Microsoft 365 environments? Pat's IT Solutions, LLC provides enterprise-grade co-managed IT, 24/7/365 monitoring, and weekend SLAs for commercial organizations across New Jersey.
Schedule an Infrastructure Audit →
Phone: Reveal Direct Line

No comments:
Post a Comment