Category Archives: News - Page 6

Use DOS FOR loop to modify premissions on files/folders

This assumes your usernames and homdirs are the same for example : user: alfred homedir : alfred

for /F %u in ('DIR /B A*.*') do v:\tools\xcacls.exe %u /T /E /C /G %u:RCWD /y

FreeBSD – Setup Link Aggregation ( LAGG ) in failover mode

Load drivers on boot

echo "if_lagg_load=\"YES\"" >> /boot/loader.conf

Add to rc.conf

ifconfig_em0="UP" ifconfig_em1="UP" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto failover laggport em0 laggport em1 ip.ad.dr.ess netmask net.ma.sk"

probably good idea to turn on spanning tree on your port .

Vista tips

disable auto tuning :

netsh interface tcp set global autotuninglevel=disabled

Quick Access to Control Panel items

Windows-Key+R or Start -> run :
ncpa.cpl – Networkcenter
appwiz.cpl – Add/Remove Application
devmgmt.msc -Hardware Management
compmgmt.msc – Computer Management
eventvwr.msc -Eventviewer
fsmgmt.msc – Shared Folders
wf.msc – Windows Firewall
perfmon – Perfomance Monitor
sdclt.exe – Vista ntbackup replacment
taskschd.msc – Task-scheduler

Linux HA – Crm_standby syntax

1.Putting a node into standby mode

crm_standby -U c001n02 -v on

2.Putting a node into normal mode

crm_standby -U c001n02 -v off

3.Checking the node’s standby status

crm_standby -G -U c001n02

4. Removing a node’s standby setting (also returns it to active mode)

crm_standby -D -U c001n02

FreeBSD – Expire User’s Password

pw user mod USERNAME -p 01-jan-08