From owner-freebsd-questions Mon Jun 5 13:57:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 70E0937BD58 for ; Mon, 5 Jun 2000 13:57:52 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e55Kvod27331; Mon, 5 Jun 2000 13:57:50 -0700 (PDT) Date: Mon, 5 Jun 2000 13:57:50 -0700 From: Alfred Perlstein To: grios@consultant.com Cc: questions@FreeBSD.ORG Subject: Re: validating users. Message-ID: <20000605135750.S17973@fw.wintelcom.net> References: <393C1126.C6586041@tdnet.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <393C1126.C6586041@tdnet.com.br>; from kernel@tdnet.com.br on Mon, Jun 05, 2000 at 05:44:22PM -0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Gustavo Vieira Goncalves Coelho Rios [000605 13:44] wrote: > I would like to know how can i implement such a authentication. Of > course i know how to decide if an account is mapped or not to a system > one (it's easy, just reading the file). My questions is: once i know > it's an account mapped to system one, how to authenticate the income > user? > > Thanks a lot for your time and cooperation. See the manpage for getpwent. also see: /usr/src/crypto/openssh/auth-passwd.c -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message