diff --git a/install.sh b/install.sh index 65cc9c567..943359444 100755 --- a/install.sh +++ b/install.sh @@ -228,6 +228,10 @@ UseRootcheck() echo " $INSTALLDIR/etc/shared/cis_rhel_linux_rcl.txt" >> $NEWCONFIG echo " $INSTALLDIR/etc/shared/cis_rhel5_linux_rcl.txt" >> $NEWCONFIG echo " " >> $NEWCONFIG + # Patch for systems that use s-nail instead of GNU Mailutils (such as Arch Linux). + if strings /usr/bin/mail | grep "x-shsh bash" 1> /dev/null; then + sed -i 's/mail !bash|/mail !/' ./src/rootcheck/db/rootkit_trojans.txt + fi else echo "" >> $NEWCONFIG echo " " >> $NEWCONFIG