LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-24-2004, 08:26 PM   #1
twbutler
LQ Newbie
 
Registered: Jan 2004
Posts: 8

Rep: Reputation: 0
Question Running Tomcat non-root with MSEC setting of "Higher"


Folks,

I have been having a blast setting up my Mandrake 9.2
web server. However, in the interest of security I have
chosen to go with a higher setting of MSEC using the
configurator DrakSec setting of "Higher" which is supposedly
appropriate for servers. I am not familiar with MSEC,
particularly, and was looking for some help with an issue
related to this higher setting.

Here is the issue I am having. Now that I have set MSEC
to "Higher", I cannot start Tomcat from any user other
than "root". I do not want to run Tomcat as root. Instead,
I currently have a special user set up just to run Tomcat,
and would like to be able to run the following script to start
Tomcat (got the idea from http://www.cymulacrum.net/writings/tomcat5/c104.html) :

#!/bin/sh
# shortcut for starting tomcat web container
#
su - <user> -c /opt/tomcat/bin/startup.sh

Again, to reiterate - the above will work at a lower MSEC
setting, such as "High" or "Normal". But it will not work
at "Higher". I have looked at the customizable settings
to see if there is something I can change to permit such
usage, but did not see anything that looked like it would
allow it.

Has anyone else run across this and solved it?

Thanks,
Trevor
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie question: whats the difference between "su root", "su" and "su -&quo mojarron Slackware 9 12-07-2009 04:08 PM
No CDROM and sound after changing security level to "Higher" banhbao Mandriva 1 02-25-2005 06:52 PM
[Redhat] make "admin" account same privledges as "root" Bi0haZarD Linux - Networking 20 01-12-2005 10:47 AM
Tiny Sofa 2.0 - I thought "halt", "reboot" were only root command ?? sorcerer Linux - Distributions 1 08-21-2004 03:28 PM
Mandrake 10: Issues with "higher" security setting and web server maverick106 Mandriva 6 04-26-2004 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration