[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving /home of a package account, and to where?



On Sun, Jul 01, 2012 at 12:44:48PM +0200, Marc Haber wrote:
> Hi,
> 
> Debian QA decided recently that it is bad to have a system/package
> account created with its home directory in /home/package, as it is
> adduser --system's default btw. I am therefore faced with having to
> change /home to some non-/home place. Unfortunately, policy does not
> give any hint about how to do it right.
> 
> Where do I put my user's home directory? In this case, the user's home
> directory contains a .ssh with known_hosts, authorized_keys and actual
> keys and it might additionally accumulate some regular dotfiles.

I'd go with /var/lib, which is what most packages do.  I don't count
the user-specific stuff to be package configuration, in general.

% getent passwd | grep /var/lib
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
libuuid:x:100:101::/var/lib/libuuid:/bin/sh
statd:x:102:65534::/var/lib/nfs:/bin/false
dictd:x:107:114:Dictd Server,,,:/var/lib/dictd:/bin/false
postgres:x:111:121:PostgreSQL administrator,,,:/var/lib/postgresql:/bin/bash
sbuild:x:115:124:Debian source builder,,,:/var/lib/sbuild:/bin/bash
buildd:x:116:125:Debian build daemon,,,:/var/lib/buildd:/bin/bash
ntop:x:118:128::/var/lib/ntop:/bin/false
Debian-gdm:x:120:132:Gnome Display Manager:/var/lib/gdm3:/bin/false
colord:x:123:135:colord colour management daemon,,,:/var/lib/colord:/bin/false


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


Reply to: