Skip to content

Instantly share code, notes, and snippets.

@labunix
labunix / debian_security.sh
Created May 24, 2012 12:37
Debianセキュリティ情報 DSAレポートメール
#!/bin/bash
# Author : labunix
# Description : DSA Report from http://www.debian.org/security
# Last Update : 2012/05/24
set -e
# for proxy
PROXY="/etc/profile.d/proxy.sh"
test -x "$PROXY" && . "$PROXY"
@labunix
labunix / snort_del_log.sh
Created May 13, 2012 14:44
snort_del_log.sh
#!/bin/bash
# Name : snort_deletelog.sh
# Description : snort rotate script
# Author : labunix
# Last Update : 2012/05/12
# ローテーション日数nを指定
ROTATE=2
# root 権限を確認