[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] Fwd: My progress with compiling QEMU Native on W32 Wi
Re: [Qemu-discuss] Fwd: My progress with compiling QEMU Native on W32 Win7 Pro.
Wed, 17 Sep 2014 12:42:39 +0200
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
On 16/09/2014 22:19, Paul Gydos wrote:
---------- Forwarded message ----------
From: *Stefan Weil*<address@hidden <mailto:address@hidden>>
Date: Tue, Sep 16, 2014 at 10:19 AM
Subject: Re: My progress with compiling QEMU Native on W32 Win7 Pro.
To: Paul Gydos <address@hidden <mailto:address@hidden>>
Am I already a root user?
On Windows? No. You are "paul" or whatever your Windows account is.
Actually, on Windows there are various degrees on being "root"
1. The real "root" is the account called "Local System" or just
"SYSTEM" uid S-1-1-18. This has almost the same powers as root
on Linux, for instance it runs the equivalents of /sbin/init
(smss.exe), /usr/sbin/login (winlogon.exe) and the X server
"csrss.exe" . This is very rarely needed and is only for real
2. Having "Administrators" gid S-1-5-32-544 as an active gid for
your process. This grants you root equivalent write permissions
to most system settings and install locactions, including the
equivalents of /etc (Registry branch HKLM), /opt
(C:\Program Files), /usr (C:\Program Files\Common Files),
/usr/local (ditto), /var (C:\ProgramData), /bin, /lib and /sbin
(C:\Windows\System32), /lib/modules (C:\Windows\System32\Drivers),
/usr/share (not separate from /usr), /usr/bin32
(C:\Program Files (x86)), /bin32 (C:\Windows\SysWow64) etc. etc.
3. Having "Administrators" gid as a "passive" gid for your process.
This is like being in the wheel group on some POSIX systems: You
can run processes with "Administrators" enabled by either
explicitly selecting "Run As Administrator" or by choosing program
files with a special attribute in an embedded XML manifest (like
being suid root on POSIX, but you are usually prompted first to
check if it was really you, and not some virus, that launched it).
4. Being reported as "root" (unix uid 0) by whatever POSIX emulation
layer (mingw32, MSYS, Cygwin, etc.) you run a ported unix tool under.
This could be for everyone, for those in one of the above 3
categories or configurable.
Jakob Bohm, CIO, Partner, WiseMo A/S. http://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded