www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/22/09:18:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-YMail-OSG: SaAiOYsVM1mR..3HmiqznV0LLkjjsZvuswsLGC3qUEtK2R9UenidQ_.oBfXy8DYLRw--
Date: Tue, 22 Jan 2008 15:17:05 +0100 (CET)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: Re: Error when running "cygcheck -s -r -v"
To: cygwin AT cygwin DOT com
In-Reply-To: <fn4pa6$avb$1@ger.gmane.org>
MIME-Version: 1.0
Message-ID: <156948.94177.qm@web25001.mail.ukl.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

--- Thorsten Kampe ha scritto:
> Hi,
> 
> I ran "cygcheck -s -r -v" to troubleshoot a problem
> on a Windows 2003 
> R2 SP2 Terminal Server and Domain Controller where
> the zsh history is 
> not read.
> 
> I got this error (but cygcheck output otherwise
> seems to be fine)
> 
>     garbled output from 'id' command - no uid= found
>     garbled output from 'id' command - no uid= found
> 
Hi Thorsten,

I found a similar id error when there was a 
missing user or groups in
/etc/passwd  or  /etc/groups

so the SSID could not be mapped correctly.
It is similar to ???? when ls -l is used.

Playing with psgetsid and setacl
I recovered the missing SSID and added the relevant
declaration in  

/etc/passwd
/etc/groups

PsGetSid v1.43 - Translates SIDs to names and vice
versa
Copyright (C) 1999-2006 Mark Russinovich
Sysinternals - www.sysinternals.com

SetACL by Helge Klein

Homepage:        http://setacl.sourceforge.net
Version:         2.0.2.0
Copyright:       Helge Klein
License:         GPL

Regards
Marco



      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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