Jump to: navigation, search

Report Issues (via Forums) and/or TWEET:@rootvgnet
MD5 Checksums

1069B8ABD66EC0F5286540C0311A80EC aixtools.gnu.bash.
2F29136566C8F10131AEBB023CE772D4 aixtools.gnu.bash.


Package Details

Sources via:
Version 4.4 Patch Level: 19
Release Date: 07 February 2018

Release Notes

--Michael Felt (talk) 21:22, 7 February 2018 (CET) Patch Level 19 - bug fix

--Michael Felt (talk) 13:24, 6 February 2018 (CET) New Release, Patch Level 18. This includes my modification to have the syslog entry similar to other AIX commands.

in bashhist.c:

--- bash-4.4.18/bashhist.c      2016-04-13 12:40:43 +0000
+++ ./bashhist.c        2018-02-06 12:03:25 +0000
@@ -768,12 +768,20 @@

   if (strlen(line) < SYSLOG_MAXLEN)
+#ifndef _AIX
     syslog (SYSLOG_FACILITY|SYSLOG_LEVEL, "HISTORY: PID=%d UID=%d %s", getpid(), current_user.uid, line);
+    syslog (SYSLOG_FACILITY|SYSLOG_LEVEL, "bash[%d]: UID=%d: %s", getpid(), current_user.uid, line);
       strncpy (trunc, line, SYSLOG_MAXLEN);
       trunc[SYSLOG_MAXLEN - 1] = '\0';
+#ifndef _AIX
       syslog (SYSLOG_FACILITY|SYSLOG_LEVEL, "HISTORY (TRUNCATED): PID=%d UID=%d %s", getpid(), current_user.uid, trunc);
+      syslog (SYSLOG_FACILITY|SYSLOG_LEVEL, "bash[%d].TRUNCATED: UID=%d: %s", getpid(), current_user.uid, line);

--Michael Felt (talk) 12:48, 2 November 2017 (CET) Had missed redefining SYSLOG_HISTORY - so removed package and replaced it with that has bashhist.o compiled properly!

--Michael Felt (talk) 15:40, 25 May 2017 (UTC) Finally, BASH-4 packaged and ready to go. One amazing thing - "gnu.gettext" and "gnu.libiconv" are no longer required as a dependency!! (READ - SURPRISE SURPRISE!!) - So, no bundle needed. My guess is that changes made in the underlying gnulib have removed the need for a number of tests run by configure! -- I approve!

--Michael Felt (talk) 16:35, 23 June 2016 (UTC) Looks like bug fixes again, and I added a 'bundle' link above

--Michael Felt (talk) 15:50, 13 September 2015 (UTC) bash-4.3.42 - bug-releases (no CVE related changes I could find)

--Michael Felt (talk) 17:42, 9 August 2015 (UTC)

Modified bashhist.c so that syslog messages look more like standard AIX syslog messages. Messages now look like:
Aug  9 17:07:36 x064 user:info syslog: bash[262296]: UID=0: cat /tmp/bash_history.out
Aug  9 17:30:12 x064 user:info syslog: bash[454682]: UID=0: ls -ltr
--Michael Felt (talk) 14:57, 7 August 2015 (UTC)
Modified the define so that history is sent to  SYSLOG by default
 /* Define if you want each line saved to the history list in bashhist.c:
    bash_add_history() to be sent to syslog(). */
 /* #define SYSLOG_HISTORY */
 #if defined (SYSLOG_HISTORY)

You can add the following to capture syslog activity

touch /tmp/bash_history.out
echo "               /tmp/bash_history.out     rotate time 1d " >>/etc/syslog.conf
stopsrc -s syslogd
startsrc -s syslogd 

And you will get output similar to this:

root@x064:[/data/prj/gnu/bash/bash-4.3.39]cat /tmp/bash*out
Aug  7 14:56:56 x064 user:info syslog: HISTORY: PID=462868 UID=0 ls
Aug  7 14:56:58 x064 user:info syslog: HISTORY: PID=462868 UID=0 pwd
Aug  7 14:57:07 x064 user:info syslog: HISTORY: PID=462868 UID=0 ls -l /tmp/bash*

Michael Felt (talk) 15:30, 12 June 2015 (UTC)
bash-4.3.39 - 5 different patches released May 19, 2015
bash-4.2.53 - repackaged with the new packaging name and known dependencies
bash-3.2.57 - first packaging of bash-3.2.X by aixtools

CVE issues - anno 2014

Will write this up with more specific info later. For now - the versions bash-4.3.30 and bash-4.2.50 are patched to correct all known CVE as of Oct. 1, 2014. Versions 4.3.33 and 5.2.53 have additional bug-fixes.


Older versions (4.3.X and earlier) depend on: aixtools.gnu.gettext aixtools.gnu.libiconv

3288CACEB7B8840F7515EF9DB3A7416A aixtools.gnu.bash.
A0934A465C5A1DC7FD913401EAEF66DA aixtools.gnu.bash.
ABE5BFCA80BDC1355D639EB37CC8872F aixtools.gnu.bash.
C0273E1BC16208E86BFCBC30AFFCCC64 aixtools.gnu.bash-4.3.bnd.tar.bz2
AFF4B1DD74E01600F23F455E5D4ADD97 aixtools.gnu.bash.
DCDE1F577801672178D2C5372D8C126F aixtools.gnu.bash.
C6AB02EBB23BD82AFAD95A916B284E44 aixtools.gnu.bash.
4CA39B38F4A07C9F6416776069F547E5 aixtools.gnu.bash.
0CCE2FB4867A78626AA92D12164882F6 aixtools.gnu.bash.
F400CA46905FA9CDF9FC4D1E0839D4D5 aixtools.gnu.bash.
A91C44CA4EC66670A361A133E48D4378 aixtools.gnu.bash.
Personal tools