public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Herb Maeder <maeder-cygml@maeder.org>
To: cygwin@cygwin.com
Subject: Re: sshd on vista error "initgroups: Permission denied" (cygwin-1.7)
Date: Fri, 21 Nov 2008 07:05:00 -0000	[thread overview]
Message-ID: <89632.1227217700@maeder.org> (raw)
Message-ID: <20081121070500.r2r4ysya0hIdF6SEqQai1qNdL3S4YAVDFqDf-gzqbXw@z> (raw)
In-Reply-To: Corinna Vinschen <corinna-cygwin@cygwin.com> 's message of                  Thu, 20 Nov 2008 11:37:23 +0100.

On 20 Nov 2008 11:37:23 +0100, Corinna Vinschen wrote:
> > Note, I'm not requesting any changes.  I'm just trying to understand if we
> > could/should establish guidelines for admin tasks requiring elevation.
> 
> All nice points but I don't think that you have to convince anybody that
> better documentation and scripts which work better in any environment
> are preferrable.  The point is, http://cygwin.com/acronyms/#SHTDI
> We can discuss stuff like that at great length but it won't help
> anybody if the docs and code doesn't get fixed along these lines.

OTOH, if you can't discuss stuff before patching, you're more likely to
get garbage.  Witness the last guy who tried.

> Be a part of the project and suggest documentation patches as you see
> fit, or create code patches for scripts to make them more intelligent.

Um, that's what I was trying to do.  It just that I'm not a big fan of the
"patch first, discuss later" philosophy, especially when I'm in unfamiliar
territory.  I usually try to get agreement on a gameplan first, then
execute.

Lucky for me too, since what I saw fit was already wrong twice on this 
elevation issue...

> That would help other users and us maintainers a lot.  None of us has
> access to all possible environments/systems and can care for all border
> cases.  Or take the next step and be a maintainer yourself.  In most
> cases it's not as much work in the long run as you think it is in the
> beginning (when creating your package(s) the first time).

I'm probably not maintainer material.  I don't care to discuss it on this
list, but it has nothing to do with the mechanics of maintaining a
package.  If you'd like to discuss it or convince me otherwise, you may
contact me personally.

> Talking about Vista migration.  From Cygwin's point of view Vista
> is just another OS.  The user is just another user.  Either the user
> has certain privileges or not.  A function works or returns EACCES.
> That's all.  Elevation is not an issue for Cygwin, for pretty dumb
> technical reasons. 

Though it is an issue from the cygwin user's point of view.

But I do understand where you are coming from.  Microsoft also took the
same approach (nothing was done to ease the pain of using Windows command
line tools requiring elevation).  Not that that necessarily makes it
http://acronyms.thefreedictionary.com/TRTTD ...

> The only concession *I* would be willing to make
> (but that's just me) is to add some text to admin scripts along these
> lines:
> 
>    *** Alarm!  I couldn't create file foo.
>    *** You're missing privileges.  If you're admin user and running
>    *** on Vista, did you think to run the script in an elevated shell?

That's actually decently close to what I was asking about.  Though the
error statement could be qualified with (onVista && !elevated), and some
scripts which don't make sense without elevation (e.g. ssh-host-config)
could just test for that right from the get-go.  Plus there's no reason
that compiled commands couldn't do something similar (e.g. "regtool add").
Any code requiring elevation is obviously already cygwin specific.

But, it sounds to me like that is not worth doing and/or not desirable.
That's a perfectly good answer.  And I'm fine with that, believe me.  An
answer is all I was looking for.   

So, to summarize this thread and move on:

  1) vista specific documentation is welcome
  2) patches to csih/ssh-host-config for 1.7+vista+domain users are welcome
  3) patches for elevation issues are not

I'm willing to take a whack at 1), so if anyone has any specific topics
that should be covered or any hints on where this documentation belongs,
please let me know.  Else, I'll just do as I see fit.

I sould also like to address 2), but I am now in the boat of not having
access to the required environments/systems.  So I can't commit to that
one.

Herb.

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

  parent reply	other threads:[~2008-11-20 23:36 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-10 15:40 Cygwin apps talking to Windows browsers? Jeffrey C Honig
2003-07-10 16:24 ` Igor Pechtchanski
     [not found]   ` <pechtcha@cs.nyu.edu>
2003-07-10 16:28     ` Jeffrey C Honig
     [not found]     ` <corinna-cygwin@cygwin.com>
2005-01-15 23:18       ` odd behavior of symlinks on Win XP SP2 Jeff.Hodges
2005-01-16 15:15         ` Corinna Vinschen
2005-01-17 17:01       ` Jeff.Hodges
2005-01-17 17:32         ` Christopher Faylor
2005-01-17 22:08           ` Sven Köhler
2005-01-17 23:11             ` Christopher Faylor
2005-01-31 21:15       ` odd behavior of symlinks on Win XP Jeff.Hodges
2005-02-01 19:43       ` Jeff.Hodges
2005-02-01 20:48         ` Christopher Faylor
2008-01-22  9:08       ` hard link error on Vista with recent snapshots Herb Maeder
2008-10-10  0:36       ` invalid login gid in /etc/passwd does not show group name as 'mkgroup' Herb Maeder
2008-10-11  7:22       ` Herb Maeder
2008-10-15  5:43       ` Herb Maeder
2008-10-23 19:18       ` cygwin bash crashes on Win Serv 2008 Freddy Jensen
2008-10-24 17:05       ` [Fwd: Apologies for multiple messages (Please Help!)] Herb Maeder
2008-10-24 17:29         ` Dave Korn
2008-11-07 17:52       ` [ANNOUNCEMENT] Updated: OpenSSH-5.1p1-6 (-7) Herb Maeder
2008-11-07 18:36         ` Christopher Faylor
2008-11-07 21:17       ` Herb Maeder
2008-11-07 21:38       ` Herb Maeder
2008-11-07 22:10         ` Christopher Faylor
2008-11-13  1:54       ` sshd on vista error "initgroups: Permission denied" (cygwin-1.7) Herb Maeder
2008-11-13 14:51         ` Corinna Vinschen
2008-11-13 15:29           ` Corinna Vinschen
2008-11-14  7:31       ` Herb Maeder
2008-11-14 11:24         ` Corinna Vinschen
2008-11-20  4:25       ` Herb Maeder
2008-11-20  6:35       ` Herb Maeder
2008-11-20 10:46         ` Corinna Vinschen
2008-11-20 23:41       ` Herb Maeder [this message]
2008-11-20 23:53         ` Herb Maeder
2008-11-21  0:18         ` Matthew Woehlke
2008-11-21  0:49         ` Herb Maeder
2008-11-21  3:09         ` Herb Maeder
2008-11-21  7:05         ` Herb Maeder
2008-11-21 11:40         ` Herb Maeder
2008-11-21 13:48         ` Herb Maeder
2008-11-21 14:46         ` Herb Maeder
2009-02-16 16:16       ` Does CYGWIN work on Windows 2008 x86 architecture ? Freddy Jensen
2003-07-10 16:36 ` Cygwin apps talking to Windows browsers? andrew brian clegg
2003-07-10 20:51   ` Cygwin apps talking to Windows browsers? openmoz for file URLs Ralf Hauser
2003-07-10 19:11 ` Cygwin apps talking to Windows browsers? Scott W Brim
  -- strict thread matches above, loose matches on Subject: below --
2009-02-16 10:05 Does CYGWIN work on Windows 2008 x86 architecture ? Martine Carannante
2009-02-16 11:07 ` Corinna Vinschen
2009-02-16 14:05   ` Martine Carannante
2009-02-16 23:10   ` Ben Kamen
2008-11-08 15:45 sshd on vista error "initgroups: Permission denied" (cygwin-1.7) Herb Maeder
2008-11-08 19:44 ` Herb Maeder
2008-11-10 15:26 ` Corinna Vinschen
2008-10-20 21:43 cygwin bash crashes on Win Serv 2008 Freddy Jensen
2008-10-23 13:55 ` Corinna Vinschen
2008-10-23 14:10   ` Corinna Vinschen
2008-10-23 15:40     ` Dave Korn
2008-10-23 16:21       ` Corinna Vinschen
2008-10-23 16:52         ` Dave Korn
2008-10-23 17:00           ` Freddy Jensen
2008-10-23 17:43             ` Dave Korn
2008-10-23 18:54           ` Corinna Vinschen
2008-10-28 15:05             ` Corinna Vinschen
2008-10-31  4:37             ` EMF
2008-10-31  5:01               ` Christopher Faylor
2008-10-31 22:57                 ` EMF
2006-02-06 22:52 problems with exit codes on 64-bit Windows XP Pro x64 Kevin Layer
2006-02-07 10:16 ` Corinna Vinschen
2006-02-07 10:24   ` Corinna Vinschen
2006-02-09 20:44     ` Kevin Layer
2006-02-09 20:48       ` Christopher Faylor
2006-02-07 17:59   ` Kevin Layer
     [not found] <OE19prw0m25q8awYFDI000008a4@hotmail.com>
2002-11-20 16:23 ` emacs 100% cpu usage bug Christopher Faylor
2002-11-21 11:47   ` Jim Goltz
2002-11-21 11:50     ` Igor Pechtchanski
2002-11-23 14:09       ` Jim Goltz
2002-11-23 14:53         ` Christopher Faylor
2002-11-24  8:53           ` Jim Goltz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=89632.1227217700@maeder.org \
    --to=maeder-cygml@maeder.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).