X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Fri, 14 Nov 2008 10:53:12 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: sshd on vista error "initgroups: Permission denied" 	(cygwin-1.7)
Message-ID: <20081114095312.GF19442@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <corinna-cygwin@cygwin.com> <8140.1226620083@maeder.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <8140.1226620083@maeder.org>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Nov 13 15:48, Herb Maeder wrote:
> Still, even with these drawbacks, something like this might be useful for
> us in ssh-host-config.  If the invoking shell is already elevated, things
> will pretty much work the way they do now.  But if it is invoked from a
> normal shell, the user would get prompted to elevate, and then the
> ssh-host-config queries and input would happen in a different cmd window.
> Not great, but still better than just exiting with an error (or, worse, 
> trying to continue with insufficient privileges).

Actually this isn't a ssh-host-config problem, but a generic problem
for all admin tasks.  Installing any service requires elevation, or
running in a Admin shell.  I'm not really convinced that we need it.
Admins running admin tasks should know that they need admin privileges.
What you're asking for is a convenience, not a necessity.

Having said that, if we want that I think the Vista elevation stuff
should go into csih, rather than ssh-host-config script, so all admin
scripts can use the functionality easily in the long run.

And I'm sure Charles wouldn't mind to get csih patches ;)


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

