delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/30/00:46:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=BAYES_00,TW_MK,TW_YP
X-Spam-Check-By: sourceware.org
Message-ID: <4BDA6093.2010101@bopp.net>
Date: Thu, 29 Apr 2010 23:46:11 -0500
From: Jeremy Bopp <jeremy AT bopp DOT net>
User-Agent: Thunderbird 2.0.0.24 (X11/20100411)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: NIS/yp ported?
References: <hrdjoo$drr$1 AT dough DOT gmane DOT org>
In-Reply-To: <hrdjoo$drr$1@dough.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Andrew DeFaria wrote:
> I'm just curious - I have a function that I use on Unix to do basically
> a ypcat passwd | grep -i $@. It's very useful in looking up users
> especially since ore and more corporations use anonymous numbers or IDs
> to represent people. But I have to log into the Unix system to do it.

Are similar/identical IDs created for those users in the Windows domain?
 If so, you can use mkpasswd in place of ypcat passwd to get something
roughly equivalent.

> I was wondering if there was a cygwin port of NIS or YP so that I could
> do this ypcat from within Cygwin.

I haven't heard of this being available, and a search doesn't turn up
ypcat in any Cygwin package.  However, someone apparently ported the
Linux tools to Cygwin at one time:

http://www.cygwin.com/ml/cygwin-apps/2003-09/msg00144.html

Too bad the message didn't include any instructions and only refers to a
website which appears to be dead now.

-Jeremy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019