From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 20 20:20:01 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E606C106566B for ; Sat, 20 Sep 2008 20:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C224B8FC1A for ; Sat, 20 Sep 2008 20:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8KKK1wJ060492 for ; Sat, 20 Sep 2008 20:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8KKK1Ka060491; Sat, 20 Sep 2008 20:20:01 GMT (envelope-from gnats) Resent-Date: Sat, 20 Sep 2008 20:20:01 GMT Resent-Message-Id: <200809202020.m8KKK1Ka060491@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, olli hauer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 683FD106564A for ; Sat, 20 Sep 2008 20:10:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 5685C8FC19 for ; Sat, 20 Sep 2008 20:10:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id m8KKAOpY011864 for ; Sat, 20 Sep 2008 20:10:24 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id m8KKAOE7011863; Sat, 20 Sep 2008 20:10:24 GMT (envelope-from nobody) Message-Id: <200809202010.m8KKAOE7011863@www.freebsd.org> Date: Sat, 20 Sep 2008 20:10:24 GMT From: olli hauer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: conf/127511: [patch] add authpf folders to BSD.root.dist and BSD.var.dist mtree files X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 20:20:02 -0000 >Number: 127511 >Category: conf >Synopsis: [patch] add authpf folders to BSD.root.dist and BSD.var.dist mtree files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 20 20:20:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: olli hauer >Release: >Organization: >Environment: >Description: Since 6.x authpf is in the base system, but there are two folders missing for authpf to work out of the box (/etc/authpf and /var/authpf) Also it will be nice to have the authpf login calss in login.conf >How-To-Repeat: setup a fresh install, create a user and assign authpf as loginshell according to man authpf(8). unless the folders created manualy authpf does not work >Fix: Patch attached with submission follows: --- etc/login.conf.orig +++ etc/login.conf @@ -62,7 +62,10 @@ :tc=default: dialer:\ :tc=default: - +authpf:\ + :welcome=/etc/motd.authpf:\ + :shell=/usr/sbin/authpf:\ + :tc=default: # # Root can always login # --- etc/mtree/BSD.root.dist.orig +++ etc/mtree/BSD.root.dist @@ -24,6 +24,8 @@ etc X11 .. + authpf + .. bluetooth .. defaults --- etc/mtree/BSD.var.dist.orig +++ etc/mtree/BSD.var.dist @@ -19,6 +19,11 @@ /set gname=audit audit .. +/set mode=0770 +/set gname=authpf + authpf + .. +/set mode=0750 /set gname=wheel backups .. >Release-Note: >Audit-Trail: >Unformatted: