-
Notifications
You must be signed in to change notification settings - Fork 0
Patched Bash 3.2.24 to log all actions to syslog
License
iamseth/bash-syslog
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
README bash-3.2-syslog.patch -- A patch for Bash to log all actions to syslog in real time. bash.spec -- A spec file for building an RPM with the patch added. PURPOSE Will log bash history to syslog in real time. Good for remote bash history logging. It logs to LOCAL5 as is. Example: Sep 25 01:40:28 hostname bash: history: [pid:7674 user:root] ls -ltr VERSION The current version is 0.1. LICENSE The current license for this version is the "MIT License" as described by the Open Source Initiative. Copyright 2011 Seth Miller Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. INSTALLATION Install the source RPM for Bash 3.2 and copy this file to the directory /usr/src/redhat/SOURCES and copy the spec file to /usr/src/redhat/SPECS Build the binary with rpmbuild -ba and install RPM from /usr/src/redhat/RPMS/ To save time, I've provided a source RPM here with the patch already applied https://github.com/downloads/migrantgeek/bash-syslog/bash-3.2-24.src.rpm If you're using CentOS or RedHat 5, the following RPM will be easiest https://github.com/downloads/migrantgeek/bash-syslog/bash-3.2-24.x86_64.rpm
About
Patched Bash 3.2.24 to log all actions to syslog
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published