https://bz.apache.org/bugzilla/show_bug.cgi?id=60167
Bug ID: 60167 Summary: PasswdUserDatabase cannot parsing /etc/passwd with empty-line Product: Tomcat 8 Version: 8.0.x-trunk Hardware: PC OS: Linux Status: NEW Severity: minor Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: sch...@gmail.com summary: When PasswdUserDatabase initialize @/etc/passwd/@ with empty-line, cannot parsing completely. * https://tomcat.apache.org/tomcat-8.0-doc/config/host.html#User_Web_Applications ======================================================== my /etc/passwd: <...> lxc-dnsmasq:x:114:125:LXC dnsmasq,,,:/var/lib/lxc:/bin/false moodle:x:1002:1002:,,,:/home/moodle:/bin/bash tomcat8:x:117:126::/usr/share/tomcat8:/bin/false # 시스템 관리자 jehos:x:1001:1001:성제호,,,:/home/jehos:/bin/bash <...> ======================================================== try: GET http://localhost:8080/~myid expect: ~myid/public_html/index.html actual: 404 not found workaround: remove all empty-lines, in my case, just comment out (#) suspect: https://github.com/apache/tomcat/blob/trunk/java/org/apache/catalina/startup/PasswdUserDatabase.java#L147 -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org