Opened 11 years ago

Closed 8 years ago

#1153 closed defect (wontfix)

tomcat not starting on installed systems under custom user

Reported by: kalxas Owned by: live-demo@…
Priority: normal Milestone: OSGeoLive8.0
Component: OSGeoLive Keywords: user accounts, tomcat


When OSGeoLive is installed with user name != "user", tomcat cannot be started.

Linked to #1141

Change history (8)

comment:1 by hamish, 11 years ago

Keywords: user accounts added

USER_NAME set to something else at build time or at install time? this is in a VM? I'm not sure how to "skel" the groups a new user is assigned to.

if install-time that's somewhat expected, make sure you add your new user to all the groups that "user" belongs to. (type 'groups' in a terminal when logged in as 'user')


comment:2 by hamish, 11 years ago

Keywords: tomcat added
Priority: majornormal

Guy wrote:

sudo service tomcat6 start

oh, so the trouble is the new-arbitrary user does not have sudo access to do that.

kalxas wrote:

As a workaround, you can add to the /etc/sudoers.d the following:

<username> ALL=(root) NOPASSWD: /usr/sbin/service tomcat6 start,/usr/sbin/service tomcat6 stop,/usr/sbin/service tomcat6 status

comment:3 by kalxas, 11 years ago

As wildintellect suggested, we should update osgeolive_install_quickstart.html including tips for those who want to install under a different user name.

comment:4 by kalxas, 11 years ago

Installation Tips section added in [10695]

comment:5 by kalxas, 11 years ago

There was a discussion on IRC about using gksu for users other than "user" and live session.

comment:6 by hamish, 10 years ago

Milestone: OSGeoLive7.0OSGeoLive7.9

comment:7 by hamish, 10 years ago

Milestone: OSGeoLive7.9OSGeoLive8.0

comment:8 by kalxas, 8 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.