[go: up one dir, main page]

Skip to content

Tools cho phép cấu hình log lại toàn bộ thao tác của user SSH

Notifications You must be signed in to change notification settings

uncelvel/ghichep-cmdlog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

CMDLOG

Support versions

Distro Compatible
CentOS6 Not verify
CentOS7 Verify
CentOS8 Stream Not verify
CentOS9 Stream Not verify
Ubuntu14 Verify
Ubuntu16 Verify
Ubuntu18 Verify
Ubuntu20 Verify
Ubuntu22 Verify

Setup

git clone https://github.com/uncelvel/ghichep-cmdlog.git
cd ghichep-cmdlog
sudo bash cmdlog.sh

Command check

# Time in history 
history 
# Log 
tail -f /var/log/cmdlog.log 
# Rotate log 
logrotate -vf /etc/logrotate.d/cmdlog

About

Tools cho phép cấu hình log lại toàn bộ thao tác của user SSH

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%