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: | |
---|---|---|---|
Priority: | normal | Milestone: | OSGeoLive8.0 |
Component: | OSGeoLive | Keywords: | user accounts, tomcat |
Cc: |
Description
When OSGeoLive is installed with user name != "user", tomcat cannot be started.
Linked to #1141
Change History (8)
comment:1 by , 11 years ago
Keywords: | user accounts added |
---|
comment:2 by , 11 years ago
Keywords: | tomcat added |
---|---|
Priority: | major → normal |
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 , 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:5 by , 11 years ago
There was a discussion on IRC about using gksu for users other than "user" and live session.
comment:6 by , 11 years ago
Milestone: | OSGeoLive7.0 → OSGeoLive7.9 |
---|
comment:7 by , 11 years ago
Milestone: | OSGeoLive7.9 → OSGeoLive8.0 |
---|
comment:8 by , 8 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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')
Hamish