delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/26/14:11:30

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 26 Oct 2001 20:11:01 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: problems with sshd and RSAAuthentication
Message-ID: <20011026201101.D10561@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1004109070 DOT 20843 DOT ezmlm AT sources DOT redhat DOT com> <20011026102738 DOT B13230 AT lucent DOT com> <20011026180058 DOT Y7622 AT cygbert DOT vinschen DOT de> <20011026113442 DOT C14038 AT lucent DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20011026113442.C14038@lucent.com>; from psfales@lucent.com on Fri, Oct 26, 2001 at 11:34:42AM -0500

On Fri, Oct 26, 2001 at 11:34:42AM -0500, Peter Fales wrote:
> On Fri, Oct 26, 2001 at 06:00:58PM +0200, Corinna Vinschen wrote:
> 
> > - SYSTEM doesn't need that rights set since it has all rights already.
> > - That are the rights needed for being able to change account using
> >   password authentication.
> > 
> > Either you let SYSTEM run cygrunsrv or you have to add the (very dangerous)
> > "Create a token object" user right to the account running cygrunsrv.
> 
> How do I "let" SYSTEM run cygrunsrv?  I think that may be the way it's
> working now, but I ran ssh-host-config as a user and didn't tell it
> anything special.   Can I login as SYSTEM to do the ssh-host-config, or 
> is there some way to tell it to run the service as SYSTEM?

Services get run by SYSTEM by default.  You're mixing the user
as whom you installed the service with the user actually running
the service.

When you've used ssh-host-config for installing the sshd service,
it gets automatically run by SYSTEM.

> Just for testing, I added to "Create a token object" for the user who
> invoked cygrunsrv.  That didn't make any difference either.

You'll better remove these rights from your account.  They are really
dangerous if you're not absolutely sure what you're doing.

> > Besides that, do you have created a /etc/group file using mkgroup
> > and did you check your /etc/passwd file being ok?
> 
> I do have a /etc/group file created with "mkgroup -l"  and a /etc/passwd 
> file created with "mkpasswd -l"  - how can I tell if it is "OK"?

If you didn't change anything, they should be ok.

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
Bug reporting:         http://cygwin.com/bugs.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