RE: Cygwin/X and Vista and UAC

2010-02-17 Thread Dr. M. C. Nelson
There might be a very destructive error in the uninstall instructions:

3. Delete the Cygwin root folder and all subfolders. 

The subfolders include /cygdrive/c/, etc.


-Original Message-
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On 
Behalf Of Larry Hall (Cygwin X)
Sent: Tuesday, February 16, 2010 6:00 PM
To: cygwin-xfree@cygwin.com
Subject: Re: Cygwin/X and Vista and UAC

On 02/16/2010 05:54 PM, Dr. M. C. Nelson wrote:
 Okay, I agree we need better information.  So, I think I want to start again
 with a clean install. I understand that the procedure for removing cygwin is
 to just delete everything.  Does it create any registry entries that should
 be deleted?

http://cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all

-- 
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
  Q: Are you sure?
  A: Because it reverses the logical flow of conversation.
  Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Cygwin/X and Vista and UAC

2010-02-17 Thread Larry Hall (Cygwin X)

http://cygwin.com/acronyms/#TOFU - Reformatted.

On 02/17/2010 09:46 AM, Dr. M. C. Nelson wrote:

-Original Message-
From: cygwin-xfree-owner at cygwin dot com [mailto:cygwin-xfree-owner at cygwin 
dot com] On Behalf Of Larry Hall (Cygwin X)

      ^^^

Sent: Tuesday, February 16, 2010 6:00 PM
To: cygwin-xfree at cygwin dot com

 
http://cygwin.com/acronyms/#PCYMTNQREAIYR - Thanks.


Subject: Re: Cygwin/X and Vista and UAC

On 02/16/2010 05:54 PM, Dr. M. C. Nelson wrote:

Okay, I agree we need better information.  So, I think I want to start again
with a clean install. I understand that the procedure for removing cygwin is
to just delete everything.  Does it create any registry entries that should
be deleted?


http://cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all

There might be a very destructive error in the uninstall instructions:

3. Delete the Cygwin root folder and all subfolders. 

The subfolders include /cygdrive/c/, etc.


I suppose it's possible to try to delete everything in Cygwin with Cygwin via
'rm -rf /' but it wouldn't be a success even if your observation wasn't an
issue.  But I agree if someone tried to do just that, then this is a potential
danger.  So the FAQ could be more clear/instructive on this count.  Care to
offer a patch for the documentation?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Cygwin/X and Vista and UAC

2010-02-16 Thread Jon TURNEY

On 10/02/2010 17:01, Dr. M. C. Nelson wrote:

I am trying to setup Cygwin/X for a Vista machine

After setting some executables to run as administrator


You shouldn't need to do this.

Isn't this the reason for your UAC prompt?

 and then after

cleaning up some lock files and log files, the x server and applications can
be run by a user with administrator privileges.


I think I understand the problem with the log file in this situation, and have 
a patch (see [1]).


But the lock files should be removed when the X server is cleanly shutdown, so 
there's some bit of information I'm missing here.



BUT,

1) The x startup (by any method)  throws a UAC prompt
2) A non-privileged user cannot get past the UAC prompt without the
administrator password

Perhaps some .manifest files would cure this?


I wasn't able to reproduce this problem doing some brief testing on W7 (I 
don't have access to a Vista system right now)


There is a manifest embedded in the XWin application [2], but it doesn't do 
anything to affect UAC at the moment.


Do you have some suggestion as to what you think it should contain?


Are there any other ways to allow a non-privileged user to run cygwin in
vista?


[1] http://sourceware.org/bugzilla/show_bug.cgi?id=9778
[2] http://cgit.freedesktop.org/xorg/xserver/tree/hw/xwin/XWin.exe.manifest

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Cygwin/X and Vista and UAC

2010-02-16 Thread Dr. M. C. Nelson
Okay, I agree we need better information.  So, I think I want to start again
with a clean install. I understand that the procedure for removing cygwin is
to just delete everything.  Does it create any registry entries that should
be deleted?

Thank you


-Original Message-
From: Jon TURNEY [mailto:jon.tur...@dronecode.org.uk] 
Sent: Tuesday, February 16, 2010 9:24 AM
To: cygwin-xfree@cygwin.com
Cc: mcnel...@mindspring.com
Subject: Re: Cygwin/X and Vista and UAC

On 10/02/2010 17:01, Dr. M. C. Nelson wrote:
 I am trying to setup Cygwin/X for a Vista machine

 After setting some executables to run as administrator

You shouldn't need to do this.

Isn't this the reason for your UAC prompt?

  and then after
 cleaning up some lock files and log files, the x server and applications
can
 be run by a user with administrator privileges.

I think I understand the problem with the log file in this situation, and
have 
a patch (see [1]).

But the lock files should be removed when the X server is cleanly shutdown,
so 
there's some bit of information I'm missing here.

 BUT,

 1) The x startup (by any method)  throws a UAC prompt
 2) A non-privileged user cannot get past the UAC prompt without the
 administrator password

 Perhaps some .manifest files would cure this?

I wasn't able to reproduce this problem doing some brief testing on W7 (I 
don't have access to a Vista system right now)

There is a manifest embedded in the XWin application [2], but it doesn't do 
anything to affect UAC at the moment.

Do you have some suggestion as to what you think it should contain?

 Are there any other ways to allow a non-privileged user to run cygwin in
 vista?

[1] http://sourceware.org/bugzilla/show_bug.cgi?id=9778
[2] http://cgit.freedesktop.org/xorg/xserver/tree/hw/xwin/XWin.exe.manifest


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Cygwin/X and Vista and UAC

2010-02-16 Thread Larry Hall (Cygwin X)

On 02/16/2010 05:54 PM, Dr. M. C. Nelson wrote:

Okay, I agree we need better information.  So, I think I want to start again
with a clean install. I understand that the procedure for removing cygwin is
to just delete everything.  Does it create any registry entries that should
be deleted?


http://cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Cygwin/X and Vista and UAC

2010-02-10 Thread Dr. M. C. Nelson
I am trying to setup Cygwin/X for a Vista machine

After setting some executables to run as administrator, and then after
cleaning up some lock files and log files, the x server and applications can
be run by a user with administrator privileges.

BUT,

1) The x startup (by any method)  throws a UAC prompt
2) A non-privileged user cannot get past the UAC prompt without the
administrator password

Perhaps some .manifest files would cure this?

Are there any other ways to allow a non-privileged user to run cygwin in
vista?

Thank you
M. C. Nelson



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/