delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/07/04:41:36

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: Tue, 07 Aug 2001 01:40:24 -0700
From: "Flynn, Connor J" <connor DOT flynn AT pnl DOT gov>
Subject: Re: PASSWD.EXE and Re: Possible to login as different user?
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Message-id: <29E6E93D92576F4DB85FE89FF2C23F44A837E9@pnlmse03.pnl.gov>
MIME-version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

Corinna Vinschen wrote:
> Use /bin/crypt to create DES encrypted passwords and copy them into
> your /etc/passwd for telnet or ftp.

How exactly does one copy the encrypted passwords into /etc/passwd and 
get telnet/ftp/login to read them?  I tried several approaches:
1. Piping the output of mkpasswd into /etc/passwd
2. Also tried appending the output of crypt to the same file.
3. Even tried using the -U domain/user, -S SID format suggested in login.README
even though those instructions were for WinNT/2K and I have Win98.

Neither approach worked as I expected.  It seems that if the username I supply
when 
prompted exists within the /etc/passwd file, login doesn't even prompt me for a
password.
It just responds "Fanfare!! You are successfully logged into this server!!!"
Sure that saves typing, but it's worrisome in terms of security!  ;-)

If you could provide a sample or excerpt from a working passwd file, that might
just do the trick.

Thx!  (BTW, I'm impressed.  You sure do respond fast!)

Connor J. Flynn		
MS K9-24		Connor DOT Flynn AT arm DOT gov
Battelle NW, PNNL	509-375-2041
PO Box 999		fax-271-0030
Richland WA 99352	lab-372-4710

No brains, no headaches...


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