Operating System - HP-UX
1834644 Members
2165 Online
110069 Solutions
New Discussion

Re: Starting tomcat other than root.

 
SOLVED
Go to solution
anilezfa
Advisor

Starting tomcat other than root.

How can i start and stop tomcat using normal user account?

User cannot start and stop because they don't have read write privilege. Should I change all the permission to 755 or is there any better way to handle this problem.

Thanks.
3 REPLIES 3
lawrenzo_1
Super Advisor

Re: Starting tomcat other than root.

you wouldn't want to write over the program so you could give permissions 555 which is -r-xr-xr-x

or if tomcat has root:sys ownership then you could put your users into the sys group for example?

I also have limited knowledge here so I would use the first option.

hth.
hello
Muthukumar_5
Honored Contributor
Solution

Re: Starting tomcat other than root.

IF we have execution permission to execute an application we can do it with non-root user there. But before check the user-owner and owner group there.

Check tomcat directory permission there as,
ll -d

Change to that user and group there, so that it can be accessible to that user / user group members and root user.

tomcat running with non-root user is given here as,
http://www.linux-sxs.org/internet_serving/c140.html
Easy to suggest when don't know about the problem!
anilezfa
Advisor

Re: Starting tomcat other than root.

Thanks all the help. I change the ownership of tomcat.