Is it normal that tomcat user created in tomcat setup to be seen in login screen? Is there a way to hide that from login screen?
This appears to be a bug. The tomcat user is a system account and not a user account. There is now way that it should be displayed on your login screen. I had a similar issue when I installed KVM. It listed "Libvirt Qemu" as a user on login screen. The issue was reported as a bug on launchpad:
If you get annoyed by a particular user appearing on your login screen. You can see the following post to hide a user from login/welcome screen
This is how I fixed mine on Ubuntu 16.04:
UIDto a value lower than 1000 so user will be hidden by
sudo usermod -u 998 tomcat
Do same for
group id - GID"
sudo groupmod -g 998 tomcat
tomcatwon't have access to the
/opt/tomcatmodify or reset ownership:
sudo chgrp -R tomcat /opt/tomcat
Please note that in step
1above terminal will display process id that used by
tomcat. Kill them and start from
sudo kill -9 <process_id>
You can get the tomcat process id's with:
ps -eLo pid,ppid,stat,euser | grep tomcat
And the new
UID I used id purely random pick that which is ok by you.