[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tomcat user/group id



Le 29/05/2014 07:35, tony mancill a écrit :

> Seems reasonable to me.  Maybe just 'tomcat' for the username starting
> with tomcat8?

Actually using the same user will cause a conflict with the authbind
configuration. When Tomcat is uninstalled the authbind configuration is
cleared, and this configuration is tied to the username.

So assuming tomcatX and tomcatY share the same username, installing
tomcatX, then tomcatY and eventually uninstalling and purging tomcatX
will sweep the authbind configuration for tomcatY. Worse, it even
deletes the shared user.

I'm trying to add authbind support to jetty8 where a common 'jetty'
username is used. I thought simply copying the tomcat scripts would be
ok, but the shared username will cause a problem when a new version of
Jetty is packaged. Technically the jetty and jetty8 packages are already
conflicting, purging jetty deletes the jetty user required by jetty8.

It there a clean way to handle a shared user between packages?

Emmanuel Bourg


Reply to: