File Integrity Checker
#!/bin/bash
BASELINE="/var/lib/integrity/baseline"
case "${1:---check}" in
--init) sha256sum /etc/passwd /etc/shadow /etc/sudoers > "$BASELINE" ;;
*) sha256sum -c "$BASELINE" ;;
esac - integrity
- checksum
- sha256
- monitor
- security