Category Archives: command line

(re)Setting rights on user home folders [batch script]

After some troubles with copied user home folders during a migration, the rights were set incorrectly. As this was about more than just a handful of users, re-setting the rights manually wasn’t a good idea. After digging around on the … Continue reading

Posted in .bat, Active Directory, batch, command line, File sharing | Comments Off on (re)Setting rights on user home folders [batch script]

Block active ssh login attempts from unknown IP’s on linux using hosts.deny

Some hosts on the net are severely compromised or shown to be controlled by malicious  users. imho: Never allow a root login using ssh to any machine you are setting up. Yes ~they~ are always probing. It is a storm. … Continue reading

Posted in block, command line, hosts.deny, linux, ssh | Comments Off on Block active ssh login attempts from unknown IP’s on linux using hosts.deny

Checking HP disk status on VMware, command line

Today, I had to check the disk status of an HP array on VMware Using VMware 6, installed with HP iso, meaning it has HP drivers and tools already installed on VMware, I found it is rather easy to use … Continue reading

Posted in command line, ESXi, hp | Comments Off on Checking HP disk status on VMware, command line