From owner-freebsd-hackers Tue Dec 9 16:27:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA22495 for hackers-outgoing; Tue, 9 Dec 1997 16:27:15 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA22451 for ; Tue, 9 Dec 1997 16:27:00 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.8.8/8.8.8) with UUCP id BAA01889 for freebsd-hackers@freebsd.org; Wed, 10 Dec 1997 01:26:28 +0100 (CET) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.8.8/8.8.5) id AAA04760; Wed, 10 Dec 1997 00:46:01 +0100 (MET) Date: Wed, 10 Dec 1997 00:46:01 +0100 (MET) Message-Id: <199712092346.AAA04760@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 0.9.8 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: Anybody heard of fgetwpent() and putpwent()? X-Original-Newsgroups: local.freebsd.hackers To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Charles Mott wrote: > Just checked and I see these on Linux, Solaris and OSF. I once held a small paper about all these functions (and even posted the survey in the German Usenet, but that's been years ago). The outcome was that it's hard to find two systems offering a common set of functions, once you consider things like shadow password files, or 4.4BSD's .db files. (For read-only access, i still find 4.4BSD's solution the most elegant, where there's no additional set of functions to access the shadow database, but the selection is done automatically based upon the EUID of the process.) I think David Nugent's pw(8) is the better option in FreeBSD, and it's at least API-lookalike to Solaris. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)