delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/09/14:38:22

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 9 Dec 2001 11:36:53 -0800
From: "Ryan T. Sammartino" <ryants AT shaw DOT ca>
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: Re: login and ssh: can't authenticate
Message-ID: <20011209193653.GA30527@localhost>
Mail-Followup-To: "Ryan T. Sammartino" <ryants AT shaw DOT ca>,
Cygwin List <cygwin AT cygwin DOT com>
References: <20011207234631 DOT GA1429 AT localhost> <20011208121058 DOT V740 AT cygbert DOT vinschen DOT de>
Mime-Version: 1.0
In-Reply-To: <20011208121058.V740@cygbert.vinschen.de>
User-Agent: Mutt/1.3.23.1i
X-Mailer: Mutt http://www.mutt.org/
X-URL: http://members.shaw.ca/ryants

On Sat, Dec 08, 2001 at 12:10:58PM +0100, Corinna Vinschen wrote:
> On Fri, Dec 07, 2001 at 03:46:31PM -0800, Ryan T. Sammartino wrote:
> > 
> > As you can see, sshd is running, and it does accept connections:
> > 
> >      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
> >      1392      1    1392       1392    ?   18 15:07:57 /usr/sbin/sshd
> > 
> > 
> > Here is my entry in /etc/passwds, somewhat censored:
> > 
> > ryans:unused_by_nt/2000/xp:18:10513:Ryan T.
> > Sammartino,U-*******\ryans,S-1-5-21-*******:/home/ryans:/bin/bash
> > 
> > 
> > Now, my UID is 18 so that I could get cron working
> 
> UID 18 is reserved for SYSTEM.  You can't get user authentication
> working for your account just by giving yourself uid 18.  Run sshd
> as service under LocalSystem account.  Revert your /etc/passwd to
> use UID 18 for SYSTEM.  cron needs the same setting, btw.

This is probably my ignorance of NT/W2K security coming through, but
when I run things as "LocalSystem", I can't kill them either with "kill"
(I get "Not owner") or with W2K's Task List ("Access Denied").

How do I kill processes that I've started that got "promoted" to
LocalSystem?



-- 
Ryan T. Sammartino (ryants AT shaw DOT ca)
http://members.shaw.ca/ryants/
Life is like bein' on a mule team.  Unless you're the lead mule, all the
scenery looks about the same.

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