Bug 165780 - pw(8) should have a hook for home directory creation
Summary: pw(8) should have a hook for home directory creation
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.3-RELEASE
Hardware: Any Any
: Normal Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-06 17:10 UTC by wollman
Modified: 2018-05-20 23:51 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wollman 2012-03-06 17:10:10 UTC
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.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2018-05-20 23:51:17 UTC
For bugs matching the following conditions:
- Status == In Progress
- Assignee == "bugs@FreeBSD.org"
- Last Modified Year <= 2017

Do
- Set Status to "Open"