Radius testing

Avoid all these linux console tools named like ‘radiusclient’. Install freeradius Test your stuff with # radtest USERNAME USERPASS HOST 0 THESECRET Testing with SQUID: # /usr/libexec/squid/basic_radius_auth -h HOST -w SECRET Then type USERNAME USERPASS at the prompt. Will return OK or ERR…

USE GMAIL WITH YOUR OWN REPLY-TO

You can tweak your gmail account to add a customized REPLY-TO on every mail you send via this account: Open your gmail account settings. Select Accounts and Import Go to Send as Click Add another address Type in your name and the reply-to address you wish to use and select Use as alias Press Next […]

OPSI | software inventory | list clients having software versions installed

#!/bin/bash red=’33[0;31m’ purple=’33[0;35m’ NC=’33[0m’ # No Color echo “select name,version from SOFTWARE_CONFIG where name like ‘%$1%’group by name,version order by name,version;” | mysql -B -N -u${USER} -p${PASS} -D opsi | ( while read LINE; do OIFS=$IFS;IFS=$’\t’ ARRAY=($LINE) NAME=”${ARRAY[0]}” VERSION=”${ARRAY[1]}” echo -ne “${red}$NAME${NC} | ${purple}$VERSION${NC} | ” echo “select clientId from SOFTWARE_CONFIG where name = ‘$NAME’ […]