Drobo alerts with GMail · For the love of technology
/drobo-alerts-with-gmail
You then put your E-Mail address that you want the alerts sent to. The “To” E-Mail address does not have to be the same as the GMail E-Mail but it can be if you want. The from E-Mail address can be what ever you want it to be. The “Authentication” part is important. Make sure that you put your E-Mail address and password in just as if you where logging into GMail.
Automate user permission setup · For the love of technology
/automate-user-permissionsetu
Bin/bash USERS= `ls $PWD grep -v set permissions ` for I in $USERS do UIDNUM= `ypcat passwd grep $I cut -d: -f 3 ` GUIDNUM= `ypcat passwd grep $I cut -d: -f 4 ` chown -R $UIDNUM:$GUIDNUM $I echo $I $UIDNUM $GUIDNUM done.