(Adding a second answer for the clarified question)
When you you used sudo open http://google.com, the the system ran open
as root, but open is really just a client for MacOS LaunchServices,
which is still running as the logged-in user.
In fact Activity Monitor is showing you that the Safari instance opened
by sudo open http:/google.com is not running as root, as the "User"
column is showing your username, not root.
You can, however, just invoke Safari directly on the command line with
sudo, by-passing Launch Services:
$ sudo /Applications/Safari.app/Contents/MacOS/Safari http://google.com
Now in Activity Monitor, you can confirm that it's running as root.
opencommand was launched with root permissions in OS X. – Nathan Moinvaziri Jul 22 '12 at 0:59opencommand was launched with root permissions? What are you really trying to do? It's just that in most cases, asking your actual question will give you better answers. That's what I was trying to point out. – slhck♦ Jul 22 '12 at 1:19