delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/14/04:50:46

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 14 Nov 2008 10:53:12 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: sshd on vista error "initgroups: Permission denied" (cygwin-1.7)
Message-ID: <20081114095312.GF19442@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <corinna-cygwin AT cygwin DOT com> <8140 DOT 1226620083 AT maeder DOT org>
MIME-Version: 1.0
In-Reply-To: <8140.1226620083@maeder.org>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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/

- Raw text -


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