delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/15/13:13:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Mon, 15 Sep 2003 19:13:05 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Sshd - Can't get access thru Public Key
Message-ID: <20030915171305.GJ9981@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3F61ED47 DOT 6090606 AT speeq DOT com> <20030913085632 DOT GO9981 AT cygbert DOT vinschen DOT de> <3F65BAF7 DOT 8030902 AT speeq DOT com>
Mime-Version: 1.0
In-Reply-To: <3F65BAF7.8030902@speeq.com>
User-Agent: Mutt/1.4.1i

On Mon, Sep 15, 2003 at 03:13:27PM +0200, Olivier ALLART wrote:
> Corinna Vinschen wrote:
> >create a special account for this, which is member of the admins
> >group and has the additional user privileges "Create a token object",
> >"Replace a process level token" and "Logon as a service".  Probably
> >it makes sense to remove other privileges from that account, e.g.
> >the right to logon locally or so.
> 
> my (dumb ?) question is : where do we define such parameters ?
> 
> And if I get the thing correctly, sshd sould still run the same way 
> (under the sshd user account with local sys privileges) but we should 
> connect using this newluy created user account to log in .. am I right ?

No.  *Don't* run sshd under the sshd account.  The service must run
under some privileged account, member of the administrators group,
created with the usual Windows user management tools.  Add the
"Create a token object" right to the account in the "Local Security
Policy" mmc snap-in.  Create an /etc/passwd entry for the user.
Install the service with cygrunsrv so that it runs under that new
privileged account.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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