delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/06/01/04:41:02

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=DYQWdcXVmMy2mOiy8cAmwWbzMbWivJ4XsbDav7ykgvPzlRLlRgrC+
gr9zyCiozSi6uHh0XmAzcB/mbdqA6XoolnxPaLJuFgE3k3aB8WMwS/TUq4gEmiH9
sUKagEvMyOdq4EBf9bR4mpnAdIFvZ30Aw+4pCkFfIEoSvM6jrNsLZw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=83dDA6HEr6MwEYl9FY3gdfPHcy8=; b=eY499+4+mVK1A/3NuQFNYzyx58Be
pHX/WPp8cGefFZlHlJqlJPQGclAIlpT337LeNfv4P9t15aklfhg0Rb5mW4iVo+sl
jKNSA11opAeH8/Yn3z5hD6danTApVZruOlyRcLMGap569Z1CqcvQBXyJpackasFW
Vt3N/fd3CHBxtDY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 1 Jun 2015 10:40:44 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Group 544 no longer shows in output of /usr/bin/id when a shell is run as administrator
Message-ID: <20150601084044.GI4308@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1634537077 DOT 3497633 DOT 1433110037155 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com>
MIME-Version: 1.0
In-Reply-To: <1634537077.3497633.1433110037155.JavaMail.yahoo@mail.yahoo.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--10jrOL3x2xqLmOsH
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On May 31 22:07, GrahamC wrote:
> It used to be possible to test for the presence of 544 in the bash array =
GROUPS or the output of the /usr/bin/id program to determine when running a=
s administrator.
>=20
> Since updating to the latest version this no longer works.
>=20
> E.g. while running as administrator:
>=20
>=20
> $ echo ${GROUPS[@]}
> 197121 114 197610 0 559 545 4 66049 11 15 113 4095 66048 262154 405504
>=20
>=20
> $ /usr/bin/id
> uid=3D1001(xxx) gid=3D197121(None) groups=3D197121(None),114(Local account
> and member of Administrators
> group),197610(HomeUsers),0(root),559(Performance Log
                           ^^^^^^^
			   This is the problem.

Please remove the /etc/group file, or at least remove the entry for root.
If you missed the changes in Cygwin in terms of account handling, which
were developed and tested by the community during almost all of 2014,=20
see https://cygwin.com/cygwin-ug-net/ntsec.html


HTH,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--10jrOL3x2xqLmOsH
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVbBqMAAoJEPU2Bp2uRE+gMmcP/i9XxqDYV+ctIbUzaLfEvpsl
081ws/482d5ZMU/UqKekrM5c98FA/yMWw0yeVQmNcNU+xAyNcpjNMhT5LD7GXlfo
Bzyk3zY1i8BAwWUbqwHhEZ93Hgn7RWw2GrWZ/7AmG7jc7knt/5Y58tphHRat9RH+
llp6OQeBnwfs3Lnw52vd85JhZFd49tsyz9u71mqemTL4BsqSqbAyFCbL+dd+1+iH
duhIg0n/3Z+Ayil38DcV4o0/CdJVYH4ZpaoBxfhinY7t8wxIPi1I/23WVd1egij/
u64G/5q3WJs3xMa2yFuqJKMQ3ax89+HS5evn1cDwm3IsKN1dkOeOZ1jlcrxa/GK3
J+VmbgYwyDLfr07ti4kg3vRjyy/uAa3oLTMnXqVPFn3a2zNjBj9A/yjWX2oQzgI6
SUvthxCf4AK0izb+l15Y923wVyYz/uUZ98Zn4txetdOe5UNSOplEJNlS8pGRtiQi
JTORk74MvNOsVASs1owoQq2UyT9kQ+0lyrlokSAf7eb/YbAMTIL5jV7LNCF4hcP9
2Zop9tLOkl2NkrEYpDnZ5YBRFP0sltWAid4JRQpaUWqXo+QaeC0bmIV5JIv9T/04
zVQlWFvpzboy1jHixWVTacdTZsImqHvVYRxjMcHwCE4SHputB3yRu+f3UM3Fi4c4
5EDY/iYKwR6FS4gVHd/c
=c7mJ
-----END PGP SIGNATURE-----

--10jrOL3x2xqLmOsH--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019