May 10, 2011 8:36 pm - Posted by admin Category:Novell, Scripts, Windows
Simplified windows update turn on/off app to drop the mapping of network drives. Path to file C:\WINDOWS\system32\cmd.exe Parameters /c c:\windows\system32\sc.exe config wuauserv start= demand & net stop wuauserv So in parameters start with /c then separate commands with & example …
8:20 pm - Posted by admin Category:General, Linux, Scripts
Useful for making sure you have a valid target for backups and emailing if not: #!/bin/bash log=/tmp/dm.log email=INSERT_EMAIL_ADDRESS_HERE #### Starting Actual Job #### date > $log ## Change “sdb1″ to what you want to check for here ## /bin/mount | …
7:51 pm - Posted by admin Category:General, Linux, Scripts
A little script you can cron during production hours to check MailScanner is actually processing mail in the maillog queue. You might need to play with the number of line initial examined to fine tune this on really low or …
March 11, 2011 2:37 pm - Posted by jrobinson Category:Scripts
Script to backup NSS volume trustees on OES Linux. #!/bin/bash # JimR LSP-Tech.com 2011-03-11 # Script to backup NSS Volume trustees on an OES Linux install # Set the target NSS Volume path & also volume name folder=/media/nss/VOL1 volume=VOL1 # …
March 1, 2011 9:53 pm - Posted by jrobinson Category:Scripts
This is a bash script to keep an eye on who is logging into your email server via pop3(s) or imap(s) etc. Make sure that you put a list of IPs you don’t care about in the relevant file (one …