Re: Question about UAC and bash/cygwin

2012-08-16 Thread Christopher Faylor
On Thu, Aug 16, 2012 at 04:41:39PM -0400, Lord Laraby wrote: >Could someone please delete that first copy of this message. Somehow, >it got through with a non-ubfuscated email address. I'm sorry. It doesn't work like that. No one wants a full time job cleaning up after other people's email gaffes

Re: Question about UAC and bash/cygwin

2012-08-16 Thread Linda Walsh
Lord Laraby wrote: I'll give that a go as a start. But, I would still like to see by Cygwin uid shown as 0 when I am elevated. Because it's the same as the windows equivalent of su. --- I think where you are confused is that cygwin's shell is elevated all the time if you are running as

Re: Question about UAC and bash/cygwin

2012-08-16 Thread Lord Laraby
Could someone please delete that first copy of this message. Somehow, it got through with a non-ubfuscated email address. I'm sorry. LL -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubs

Re: Question about UAC and bash/cygwin

2012-08-16 Thread Lord Laraby
On Thu, Aug 16, 2012 Christian Franke wrote: > Corinna Vinschen wrote: >> >> On Aug 16 07:06, Lord Laraby wrote: >-8 >> >> What is it good for to have uid 0? You want to know if you have admin >> rights, so why don't you simply check for the admin group in the >> supplementary group list? >> >> He

Re: Question about UAC and bash/cygwin

2012-08-16 Thread Lord Laraby
On Thu, Aug 16, 2012 at 3:00 PM, Christian Franke wrote: > Corinna Vinschen wrote: >> >> On Aug 16 07:06, Lord Laraby wrote: >-8 >> >> What is it good for to have uid 0? You want to know if you have admin >> rights, so why don't you simply check for the admin group in the >> supplementary group l

Re: Question about UAC and bash/cygwin

2012-08-16 Thread Christian Franke
Corinna Vinschen wrote: On Aug 16 07:06, Lord Laraby wrote: My, major emphasis is recognizing in the Cygwin dll or startup code somewhere) that the user has full Administrator rights and simply replacing his normal UID with 0 (or that of whomever root seems to be by /etc/passwd). Internally (a

Re: Question about UAC and bash/cygwin

2012-08-16 Thread Corinna Vinschen
On Aug 16 11:06, Lord Laraby wrote: > On Thu, Aug 16, 2012Corinna Vinschen > > On Aug 16 08:48, Lord Laraby wrote: > >> On Thu, Aug 16, 2012 Corinna Vinschen wrote: > >> > On Aug 16 07:06, Lord Laraby wrote: > >> > >> See, here where I said I want to know if the user is in fact > >> "elevated"? I'

Re: Question about UAC and bash/cygwin

2012-08-16 Thread Kurt Franke
Lord Laraby gmail.com> writes: > > On Thu, Aug 16, 2012Corinna Vinschen > > On Aug 16 08:48, Lord Laraby wrote: > >> On Thu, Aug 16, 2012 Corinna Vinschen wrote: > >> > On Aug 16 07:06, Lord Laraby wrote: > >> > >> See, here where I said I want to know if the user is in fact > >> "elevated"? I'

Re: Question about UAC and bash/cygwin

2012-08-16 Thread Lord Laraby
On Thu, Aug 16, 2012Corinna Vinschen > On Aug 16 08:48, Lord Laraby wrote: >> On Thu, Aug 16, 2012 Corinna Vinschen wrote: >> > On Aug 16 07:06, Lord Laraby wrote: >> >> See, here where I said I want to know if the user is in fact >> "elevated"? I'm always a member of the Administrators Group (gro

Re: Question about UAC and bash/cygwin

2012-08-16 Thread Corinna Vinschen
On Aug 16 08:48, Lord Laraby wrote: > On Thu, Aug 16, 2012 Corinna Vinschen wrote: > > On Aug 16 07:06, Lord Laraby wrote: > >> My, major emphasis is recognizing in the Cygwin dll > >> or startup code somewhere) that the user has full Administrator rights > >> and simply replacing his normal UID w

Re: Question about UAC and bash/cygwin

2012-08-16 Thread Lord Laraby
On Thu, Aug 16, 2012 Corinna Vinschen wrote: > On Aug 16 07:06, Lord Laraby wrote: >> My, major emphasis is recognizing in the Cygwin dll >> or startup code somewhere) that the user has full Administrator rights >> and simply replacing his normal UID with 0 (or that of whomever root >> seems to be

Re: Question about UAC and bash/cygwin

2012-08-16 Thread Corinna Vinschen
On Aug 16 07:06, Lord Laraby wrote: > My, major emphasis is recognizing in the Cygwin dll > or startup code somewhere) that the user has full Administrator rights > and simply replacing his normal UID with 0 (or that of whomever root > seems to be by /etc/passwd). Internally (at cygwin.dll level)

Re: Question about UAC and bash/cygwin

2012-08-16 Thread Lord Laraby
Hi Corinna, On Thu, Aug 16, 2012 Corinna Vinschen wrote: > On Aug 16 03:39, Lord Laraby wrote: >> I wouldn't need *all* of her knowledge of course. Just a small amount >> would improve my understanding immensely. >> >> > Probably the key point that you're stumbling over is the fact that >> > when

Re: Question about UAC and bash/cygwin

2012-08-16 Thread Corinna Vinschen
On Aug 16 03:39, Lord Laraby wrote: > Larry Hall (Cygwin) wrote: > > On 8/15/2012 5:39 AM, Lord Laraby wrote: > > > >> Sorry if the questions are a bit too numerous. I wish I could just > >> siphon knowledge from Corinna's brain.:) > > > > Then that would leave her with none! > > I wouldn't need *

Re: Question about UAC and bash/cygwin

2012-08-16 Thread Corinna Vinschen
On Aug 15 05:39, Lord Laraby wrote: > Adam Dinwoodie wrote: > > > Lord Laraby wrote: > >>I've scanned months of the mailing list archives for an answers and searched > >>until I've run out of ideas. > > > > Have you taken a look through the Cygwin user's guide? In particular, I > > suspect > > t

Re: Question about UAC and bash/cygwin

2012-08-16 Thread Lord Laraby
Larry Hall (Cygwin) wrote: > On 8/15/2012 5:39 AM, Lord Laraby wrote: > >> Sorry if the questions are a bit too numerous. I wish I could just >> siphon knowledge from Corinna's brain.:) > > Then that would leave her with none! I wouldn't need *all* of her knowledge of course. Just a small amount w

Re: Question about UAC and bash/cygwin

2012-08-15 Thread Larry Hall (Cygwin)
On 8/15/2012 5:39 AM, Lord Laraby wrote: Sorry if the questions are a bit too numerous. I wish I could just siphon knowledge from Corinna's brain.:) Then that would leave her with none! Probably the key point that you're stumbling over is the fact that when you're elevating your user's priv

Re: Question about UAC and bash/cygwin

2012-08-15 Thread Lord Laraby
Adam Dinwoodie wrote: > Lord Laraby wrote: >>I've scanned months of the mailing list archives for an answers and searched >>until I've run out of ideas. > > Have you taken a look through the Cygwin user's guide? In particular, I > suspect > the section on using Windows security in Cygwin will be

RE: Question about UAC and bash/cygwin

2012-08-15 Thread Adam Dinwoodie
Lord Laraby wrote: >I've scanned months of the mailing list archives for an answers and searched >until I've run out of ideas. Have you taken a look through the Cygwin user's guide? In particular, I suspect the section on using Windows security in Cygwin will be relevant: http://cygwin.com/cygwin

Re: Question about UAC and bash/cygwin

2012-08-14 Thread Lord Laraby
Okay, some of this has been covered here: http://www.cygwin.com/ml/cygwin/2008-10/msg00370.html I'm still reading more and doing more detective work. > -- > Lord Laraby -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: