soccerfiend's blog

Windows runas syntax

While not nearly as clean and slick as the GNU sudo command, it is a very useful command for doing administrative stuff while logged in as a non-privaledged user.

runas /noprofile /user:mydomain\myadminusername "mmc %SystemRoot%\system32\compmgmt.msc /s"

This example will bring up the “Computer Management” console, normally launched from “Administrative Tools” All of the control panel applets exist under %SystemRoot%\system32\ (typically c:\windows\system32) and they all have the .msc extension.

Weird make-kpkg error

I was trying to build a custom kernel for my Ubuntu 8.04 laptop, and I got the following error message:

dpkg-deb: building package linux-image-' in../linux-image-’.
dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775)
make[1]: *** [debian/linux-image-] Error 2
make[1]: Leaving directory `/usr/src/linux-
make: *** [binary/linux-image-] Error 2

Syndicate content