Public bug reported: I noticed, that the package "tomcat9" creates a new user called tomcat. This is fine, but there is a problem. The home directory in /etc/passwd is / (root), which is supposed to be wrong. Older versions, like "tomcat8", do have /var/lib/tomcat8 as it's own home directory.
This should be corrected, as a single user shouldn't have / as home directory. Steps to reproduce: apt-get install tomcat9 check /etc/passwd for home directory of tomcat user The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu: Description: Ubuntu 18.04.2 LTS Release: 18.04 The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center: tomcat9: Installiert: 9.0.16-3~18.04.1 Installationskandidat: 9.0.16-3~18.04.1 What you expected to happen: Home directory is set to "/var/lib/tomcat9" What happened instead: Home directory is set to "/" ** Affects: tomcat9 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1834139 Title: The tomcat9 user has wrong home directory / To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tomcat9/+bug/1834139/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs