Archive for August, 2008

Access administrative shares on Server 2008/Vista

Tuesday, August 19th, 2008

Quick windows tip again, if you find yourself unable to access the administrative shares (\\machine\c$, tasks, etc) on a Windows Server 2008 or Vista computer with UAC enabled, using the credentials of a local administrator — don’t panic. This is actually intended.

Turns out local administrators cannot elevate their privileges over the network, with UAC enabled.

Note that this doesn’t affect users in the Domain Admins group!

Now, you could do the dumb “neowin poweruser” thing and turn UAC off, or you could change this particular behavior in the registry. Navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

And add a new DWORD named LocalAccountTokenFilterPolicy with a value of 1, and then reboot. It all should work.

Again, users with Domain Admin privileges are unaffected.

How to tether your iPhone, the unix way

Monday, August 4th, 2008

So, there’s a lot noise on the internet in general about an iPhone application called NetShare, that allows you to sort-of use tethering with the iPhone — that is, use its sexy 3G connection from say, your laptop. Unfortunately, Apple seems to be pulling this application out of the App Store, then putting it back only to take it out again, probably while arguing over with AT&T about wheter or not this violates their TOS or the like.

I used to use tethering with my previous Motorola phones via bluetooth, my Treo, and the many blackberries I have owned, and found it was fairly practical to be almost guaranteed internet access from my laptop no matter where I actually am. This enabled me to support clients no matter when, even while in transit between two cities, on a bus.

So, all that NetShare software did was set-up an HTTP proxy on the iPhone. This immediately sprung a lightbulb over my head, as there’s another way to accomplish just that, without the application, provided your iPhone is jailbroken.

The idea is to use SSH, and just tunnel stuff through it. Simple and effective.

Read the rest of this entry »