From owner-freebsd-questions@FreeBSD.ORG Fri Mar 28 07:47:03 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EC8A37B401 for ; Fri, 28 Mar 2003 07:47:03 -0800 (PST) Received: from grant.org (grant.org [64.56.118.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF6FE43F3F for ; Fri, 28 Mar 2003 07:47:02 -0800 (PST) (envelope-from mgrant@grant.org) Received: from grant.org (localhost [127.0.0.1]) by grant.org (8.12.6/8.12.6) with ESMTP id h2SFkxWg085138 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 28 Mar 2003 10:47:02 -0500 (EST) (envelope-from mgrant@grant.org) Received: (from root@localhost) by grant.org (8.12.6/8.12.6/Submit) id h2SFkxNg085135; Fri, 28 Mar 2003 10:46:59 -0500 (EST) Date: Fri, 28 Mar 2003 10:46:59 -0500 (EST) Message-Id: <200303281546.h2SFkxNg085135@grant.org> From: Michael Grant To: freebsd-questions@freebsd.org X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: restricting certain users to certain things (pam?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2003 15:47:04 -0000 I have a requirement to restrict certain users to logging in in certain ways. For example, some users can ftp, others can ftp, ssh, and get a shell, other users can relay mail using auth login. I am pretty sure I can do this though pam.conf. Has anyone actually done this? Can someone slide me some examples?