Date: Sat, 20 Sep 2008 20:10:24 GMT From: olli hauer <ohauer@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: conf/127511: [patch] add authpf folders to BSD.root.dist and BSD.var.dist mtree files Message-ID: <200809202010.m8KKAOE7011863@www.freebsd.org> Resent-Message-ID: <200809202020.m8KKK1Ka060491@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809202010.m8KKAOE7011863>