delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/31/07:14:24

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: Fri, 31 Jan 2003 13:16:30 +0100 (CET)
From: Pavel Tsekov <ptsekov AT gmx DOT net>
X-X-Sender: ptsekov AT moria DOT atlanticsky DOT com
To: cygwin AT cygwin DOT com
Subject: Cygwin 1.3.19-1 and up: Garbage printed in ls output if the user
entry is missing from /etc/passwd
Message-ID: <Pine.LNX.4.44.0301311302330.18664-100000@moria.atlanticsky.com>
MIME-Version: 1.0

Hello,

I've just completed a fresh installation of Cygwin on Win2k Pro / SP3. I 
installed Cygwin as Administrator but then created an user called ptsekov. 
It happened that I forgot to update the password database after I created 
the new user. So I've logged in as ptsekov and the first thing I saw was 
the strange prompt - with the latests snapshot version of Cygwin 
(20030130) it looks like this for me:

<@mordor

With the released 1.3.19-1 version it was a little bit different.

Then I issued 'ls -l' on a directory which contained files with owner 
'ptsekov'. The output contained garbage in the owner field of the 'ls' 
output.

Now I know that it is not good if the user's entry is missing from the 
passwd database and I've corrected this, but I thought I'd post so that
this could be fixed. It seems like there is some variable 
left uninitialized if the passwd entry is missing.


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