delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/04/09:37: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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3E8D994C.D8DD8309@ieee.org>
Date: Fri, 04 Apr 2003 09:40:12 -0500
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Rodrigo Serra <rmserra AT fibertel DOT com DOT ar>
CC: cygwin AT cygwin DOT com
Subject: Re: su questions
References: <002001c2fa68$a43fc2a0$0102a8c0 AT rmserra DOT com DOT ar>

Rodrigo Serra wrote:
> 
> Pierre,
> 
> The cygwin environment is binmode ntsec tty. This following string is
> extracted from cygwin1.dll "1.3.22-dontuse-21". Windows is "Windows.NET
> Server 2003" RC2.
> 
> This happen only when try to use no password authentication.
> 
OK, It may have to do with your version of Windows
I need your help for some debugging

1) Edit /etc/passwd to
   a) remove the passwd of SYSTEM
   b) add a home directory for SYSTEM (e.g. /)
   c) add a shell for SYSTEM
   d) remove your password (uid 1003)
2) telnet localhost and login as SYSTEM
   It should let you in without password
   You are now running as SYSTEM, confirm with "id"
3) su yourself (uid 1003)
   If that fails: 
4) strace -o trace su yourself
   and send me the trace 
5) Put the SYSTEM password back if your machine is directly accessible.

Pierre

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