[Pkg-shadow-devel] Bug#856557: /usr/sbin/useradd: need hook to create btrfs-subvolume for users home

Jakobus Schürz jakobus.schuerz at gmail.com
Thu Mar 2 12:36:20 UTC 2017


Package: passwd
Version: 1:4.4-4
Severity: wishlist
File: /usr/sbin/useradd

Dear Maintainer,

Creating a new user on a machine with btrfs needs improvement of
creating its home-dir.

With btrfs-subvolumes i can give easily quota to users home and i can do
other things on backups if each home is in it's own subvolume.

If /etc/skel is is itself a btrfs-subvolume, i can easy create a users
home whith the snapshot-ability from btrfs.

So to be flexible, it would be a good point, to have the ability to
place a hook for creating a subvolume or directory in the process.

regards

jakob

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (800, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.10.0-rc6-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages passwd depends on:
ii  libaudit1       1:2.6.7-1
ii  libc6           2.24-9
ii  libpam-modules  1.1.8-3.5
ii  libpam0g        1.1.8-3.5
ii  libselinux1     2.6-3
ii  libsemanage1    2.6-2

passwd recommends no packages.

passwd suggests no packages.

-- no debconf information



More information about the Pkg-shadow-devel mailing list