[pkg-ntp-maintainers] Bug#665917: Bug#665917: ntp: don't use /home/ for the users homedir

Peter Eisentraut petere at debian.org
Tue Mar 27 20:14:02 UTC 2012


On tis, 2012-03-27 at 14:15 +0200, Christoph Anton Mitterer wrote:
> Am 27.03.2012 09:04, schrieb Kurt Roeckx:
> > Which script are you talking about?  I do not see the path
> > mentioned in any of them.
> /var/lib/dpkg/info$ grep adduser ntp*
> ntp.postinst:   adduser --system --quiet --ingroup ntp
> --no-create-home 
> ntp
> 
> While this doesn't create a directory, it sets the home dir to the 
> default /home/<user> in /etc/passwd:
> $ grep ntp /etc/passwd
> ntp:x:102:104::/home/ntp:/bin/false 

We could set it to /var/lib/ntp instead, but changing it on upgrade
sounds a bit hairy.

I think it's also kind of a bug in adduser that it creates system users
with a home directory under /home.







More information about the pkg-ntp-maintainers mailing list