From owner-freebsd-questions Thu Aug 16 18: 7:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from typhoon.typhoon.co.jp (typhoon.typhoon.co.jp [202.33.21.39]) by hub.freebsd.org (Postfix) with ESMTP id CBFE937B40D for ; Thu, 16 Aug 2001 18:07:53 -0700 (PDT) (envelope-from fbsd@typhoon.co.jp) Received: from localhost (nfung@localhost) by typhoon.typhoon.co.jp (8.11.5/8.11.5/TIS) with ESMTP id f7H17qF58935 for ; Fri, 17 Aug 2001 10:07:52 +0900 (JST) Date: Fri, 17 Aug 2001 10:07:52 +0900 (JST) From: fbsd To: Subject: About pam_unix.so Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello! If I have an application that uses PAM to authenticate, and /etc/pam.conf is something like: myapp auth required pam_unix.so myapp account required pam_unix.so where "myapp" is the "service name" for PAM. My question is; must "myapp" be run as root if it wants to successfully authenticate with pam_uix.so? I am asking because pam_unix.so uses getpwent() to get the encrypted password, right? TIA for any help. reg. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message