Flickr widget

www.flickr.com
padamati's items Go to padamati's photostream

Monday, February 23, 2009

How to Shutdown when you are connected to a machine using remote desktop connection

Quite a few ways as mentioned in the below blog
http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx

Of course excuting "shutdown -t 0 -r " on cmd prompt or run works fine on XP.

Wednesday, February 18, 2009

sudo - nice error message

Other day when I was playing with "sudo" I found an error message which was interesting
I intentionally issued a command on console, just to see what happens. Below is the error message from sudo

ssh XXXX@aaa.bbb.ccc.ddd sudo "ls /etc"

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility

Though I felt the message a little harsh, Yes error handling is an art.