Quick Commands to get around Vista/Win7 and WS2008

Here are some handy quick commands that can be typed into the start search box or command prompt in Vista/Win7 and WS2008.

  • ncpa.cpl – Takes you to “Control PanelNetwork and InternetNetwork Connections”
  • desk.cpl –  Takes you to “Control PanelAppearance and PersonalizationDisplayScreen Resolution”
  • appwiz.cpl – Takes you to “Control PanelProgramsPrograms and Features”
  • sysdm.cpl – Takes you to “System Properties”
  • CompMgmtLauncher.exe – Takes you to “Computer Management MMC”

How to create and delete recovery points for DPM via PowerShell

Video demonstration of creating and deleting recovery point with DPM 2007 via PowerShell.

Handy to know if you have problems with your GUI console or just want to create scripts in order to get things done quicker.

http://blogs.technet.com/dpm/archive/2010/02/04/how-to-create-and-delete-recovery-points-for-dpm-via-powershell.aspx

Panopticlick tests your browser

Is your browser configuration rare or unique? If so, web sites may be able to track you, even if you limit or disable cookies.

Panopticlick tests your browser to see how unique it is based on the information it will share with sites it visits. Click below and you will be given a uniqueness score, letting you see how easily identifiable you might be as you surf the web.

https://panopticlick.eff.org

Restore GRUB (grub2) on Ubuntu 9.10

I had to restore my GRUB on a machine recently as Windows 7 completely overwrote it (how rude) and then site below had the best and easiest method to get it back up and running. Be careful as this is for Grub2 or later versions of Ubuntu.

If you are starting out with a clean sheet, install Windows first then Ubuntu or use a boot loader such as BootIT.

http://gadgetmix.com/index/how-to-restrore-grub-bootloader-in-ubuntu-9-10-standard-and-netbook-remix

RDP Hotkey Functionality in an ICA Pass-through Session

Recently had an issue when RDP into a workstation and then launching Citrix from that RDP session where by the U key was causing all sorts of dramas.

The problem turned out to be Hotkey functionality and the fix was simple, change the  Windows Key Combinations to”On the Remote Computer” as seen below.

 

YASAT (Yet another stupid audit tool)

YASAT (Yet Another Stupid Audit Tool) is a simple stupid audit tool.
Its goal is to be as simple as possible with minimum binary dependencies (only sed, grep and cut)
It do many tests for checking security configuration issue or others good practice.
It checks many software configurations.

More info and download at:
http://yasat.sourceforge.net

Disable IPV6 in Debian & Ubuntu

I don’t need IPv6 on my internal servers and workstations, however now all distro’s seem to be shipping with IPv6 enabled by default.

To disable follow these steps and see the reference sites for more info.

Debian:

To disable IPv6 change /etc/modprobe.d/aliases
# alias net-pf-10 ipv6
# Disable ipv6
alias net-pf-10 off
alias ipv6 off

Now comment out all IPv6 references in /etc/hosts and restart server.

References:
http://www.karkomaonline.com/index.php/2009/04/how-to-disable-ipv6-in-debian
http://www.linux.com/community/blogs/disable-ipv6-on-debian-lenny-quick-howto.html

Ubuntu:

Edit /etc/default/grub file
Change
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”
to
GRUB_CMDLINE_LINUX_DEFAULT=”ipv6.disable=1 quiet splash”
Save and exit the file
Update the grub from the command line
sudo update-grub

Reference:
http://www.ubuntugeek.com/how-to-disable-ipv6-in-ubuntu.html

 

Update: This site has a better way for Debian:
http://www.cyberciti.biz/faq/disable-ipv6-on-debian-linux-lenny-squeeze/

Update for Ubuntu:
http://www.linuxarticles.org/2011/06/disable-ipv6-in-ubuntu/

 

 

 

 

 

 

 

 

 

 

Linux Stress Test Tools

If you need to stress test your Linux box there are some great tools available.

For Debian/Ubuntu use the repositories for a simple solution, it’s call stress.

To Install:
sudo aptitude install stress
Command to run a simple load test:
stress –cpu 8 –io 4 –vm 2 –vm-bytes 128M –timeout 10s

Check this site for many other utilities available:
http://www.overclockers.com/forums/showthread.php?t=486495