delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:to:from:subject:date:message-id:references | |
:mime-version:content-type:content-transfer-encoding; q=dns; s= | |
default; b=QdW+fSe66h92T0AiYZisWM9ugBNzESVJp2UdyJ9AhUJ+vaQJTap5/ | |
aIoGSWJKKWVyTFNuagk8gY6sS4KkBdmKXX3MhdKsJW4UmbPUp9QI2lmqrQxhU9gB | |
6aapgXaBHl3aN4iReJarK+RBnVFySOjakxtneKagl4shUcRcMf/hjs= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:to:from:subject:date:message-id:references | |
:mime-version:content-type:content-transfer-encoding; s=default; | |
bh=JVoBEY0LKqnM0LMD+2c4tawBBBs=; b=vXMfINjgeSuZKRU13rWe3Go6RfhB | |
d59pyptBt0Of9uE9TjBS8IWoBl3pHEjv+0lTYjsiNJyBWbgq+sdFRwRH+h0GfUMl | |
PvcN7FEErhSa8YHRTZ5B9RYp0+/MSvzKPlOKL9yJUeDp3SvwJ2RTU48IXzu+tjNO | |
nj1cx81BkBQAVg4= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | plane.gmane.org |
To: | cygwin AT cygwin DOT com |
From: | Kurt Franke <Kurt-Franke AT web DOT de> |
Subject: | Re: Testers needed: New passwd/group handling in Cygwin |
Date: | Fri, 14 Feb 2014 12:55:58 +0000 (UTC) |
Lines: | 34 |
Message-ID: | <loom.20140214T132503-178@post.gmane.org> |
References: | <52FD1EDB DOT 8060708 AT googlemail DOT com> <52FD3D9C DOT 6020205 AT tiscali DOT co DOT uk> <52FDE9C0 DOT 7070002 AT gmail DOT com> <20140214101001 DOT GW2246 AT calimero DOT vinschen DOT de> <20140214105038 DOT GA2246 AT calimero DOT vinschen DOT de> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-IsSubscribed: | yes |
Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes: > > Indeed. After the discussion yesterday I already realized that we will > > need some commandline tool to request passwd and group entries. > > > > There is a function called getpw on Linux which allows to fetch a passwd > > entry in the form it has in /etc/passwd: > > > > http://linux.die.net/man/3/getpw > > Gosh, please ignore this function. It's old and dangerous. Treat this > mail as if I never mentioned this function, ok? > > Corinna > Hi Corinna, I think the function family getpwent() getgrent() ... would be good for this if you add checking in SAM for asked information. And of course to small executables utilizing it for use in shell scripts Regards kf -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |