Skip to content

Bash autoinstaller (any versions 5) + all patches + syslog module (with real username)

License

Notifications You must be signed in to change notification settings

Mickaelh51/bash-autoinstaller-active-syslog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Installer for patch bash 5.X (or older bash versions) with syslog module and be able to show the real username

What is this repository for?

Active syslog module in bash. Patch for show "logname" variable instead of UID in logs.

Ex: Login you on SSH with your user (mickael), You must switch to root for work (sudo -s).

With no patch you can see in log: (with sudo -s ==> root):

Sep 20 20:12:49 -bash: HISTORY: PID=1722 UID=0 cat /var/log/syslog

With these patches, you can see:(with sudo -s ==> root):

Sep 20 20:12:49 -bash: HISTORY: PID=1822 LOGIN=mickael COMMAND=cat /var/log/syslog

Tested versions

  • Debian jessie 64bits
  • Debian wheezy 32bits
  • Debian wheezy 64bits
  • FreeBSD 7
  • FreeBSD 9
  • CentOS EL6

About

Bash autoinstaller (any versions 5) + all patches + syslog module (with real username)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages