bin/165780: pw(8) should have a hook for home directory creation

Garrett Wollman wollman at csail.mit.edu
Tue Mar 6 17:10:11 UTC 2012


>Number:         165780
>Category:       bin
>Synopsis:       pw(8) should have a hook for home directory creation
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 06 17:10:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Wollman
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
MIT Computer Science & Artificial Intelligence Lab
>Environment:
System: FreeBSD zfsnfs.csail.mit.edu 9.0-RELEASE FreeBSD 9.0-RELEASE #3 r232145M: Sun Feb 26 20:00:10 EST 2012 wollman at zfsnfs.csail.mit.edu:/usr/obj/usr/src/sys/ZFSNFS amd64

>Description:

pw(8) will always use mkdir(2) to create home directories.  In some
situations, this is inappropriate, and it should be possible for the
administrator to configure a hook script that is called instead.  Such
a script might be used, for example, to automatically create a new ZFS
dataset for each new home directory, in accordance with recommended
practice on ZFS.

>How-To-Repeat:

Read pw(8).  Examine the code in pw_user.c.  Be sad.

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list