soccerfiend's blog
Windows runas syntax
Submitted by soccerfiend on Wed, 2008-09-24 13:12While 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
Submitted by soccerfiend on Wed, 2008-09-24 10:42I 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-2.6.25.4-rt6-gj01' in../linux-image-2.6.25.4-rt6-gj012.6.25.4-rt6-gj01-01.GBJ.Customi386.deb’.
dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775)
make[1]: *** [debian/linux-image-2.6.25.4-rt6-gj01] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.4?
make: *** [binary/linux-image-2.6.25.4-rt6-gj01] Error 2