Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2012 12:01:59 -0500 (EST)
From:      Garrett Wollman <wollman@csail.mit.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/165780: pw(8) should have a hook for home directory creation
Message-ID:  <201203061701.q26H1xZP073913@zfsnfs.csail.mit.edu>
Resent-Message-ID: <201203061710.q26HABLJ014853@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203061701.q26H1xZP073913>