conf/127511: [patch] add authpf folders to BSD.root.dist and BSD.var.dist mtree files

olli hauer ohauer at gmx.de
Sat Sep 20 20:20:02 UTC 2008


>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:


More information about the freebsd-bugs mailing list