Skip to content

Commit

Permalink
Merge pull request #637 from anonimal/master
Browse files Browse the repository at this point in the history
Patch rootkit_trojans.txt for s-nail systems.
  • Loading branch information
ddpbsd committed Aug 14, 2015
2 parents 39334a9 + b2f340c commit fac271e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@ UseRootcheck()
echo " <system_audit>$INSTALLDIR/etc/shared/cis_rhel_linux_rcl.txt</system_audit>" >> $NEWCONFIG
echo " <system_audit>$INSTALLDIR/etc/shared/cis_rhel5_linux_rcl.txt</system_audit>" >> $NEWCONFIG
echo " </rootcheck>" >> $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 " <rootcheck>" >> $NEWCONFIG
Expand Down

0 comments on commit fac271e

Please sign in to comment.