1 2 3 4 5 6 7
#!/bin/sh # record login /usr/bin/logger -p local3.info "login,$1,$4,$5" /sbin/ifconfig $1 group l2tp