*BSD News Article 55113


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-stuttgart.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!x14.mi.uni-koeln.de!se
From: se@x14.mi.uni-koeln.de (Stefan Esser)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to access encoded passwords in the password database file
Date: 15 Nov 1995 18:55:36 GMT
Organization: Institute for Mathematics, University of Cologne, Germany
Lines: 14
Message-ID: <48dd38$dt2@news.rrz.uni-koeln.de>
References: <48aj41$otm@news.abq.bdm.com>
NNTP-Posting-Host: x14.mi.uni-koeln.de

In article <48aj41$otm@news.abq.bdm.com>, rhughes2@bdm.com (Ralph Hughes) writes:
|> I am trying to put together a PERL script that does user validation. 
|> However, since FreeBSD uses a password database file rather than /etc/passwd,
|> I'm having some trouble.
|> 
|> I'd really rather not undo the added layer of password security.

Does perl's "getpwent" function not work for you ???

-- 
 Stefan Esser, Zentrum fuer Paralleles Rechnen		Tel:	+49 221 4706021
 Universitaet zu Koeln, Weyertal 80, 50931 Koeln	FAX:	+49 221 4705160
 ==============================================================================
 http://www.zpr.uni-koeln.de/~se			  <se@ZPR.Uni-Koeln.DE>