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

Christoph Anton Mitterer calestyo at scientia.net
Tue Mar 27 12:15:34 UTC 2012


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


> I don't see how maintair scripts need to change anything for the
> upgrade in that case, either they do the right thing or don't.
Well,.. obviously they did it not "cleanly",.. to the usual way is to 
clean up on upgrades, otherwise
users will stay with the old settings forever.


Cheers,
Chris.





More information about the pkg-ntp-maintainers mailing list