RE: In linux, how to start tomcat where user is not root?

2001-08-16 Thread Martin van den Bemt

make sure you have sufficient rights... (what that should be is for you to
figure out..)
Running fine here with about 20 users, all under a non root account..

Mvgr,
Martin

 -Original Message-
 From: sunbel [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 16, 2001 12:23 PM
 To: [EMAIL PROTECTED]
 Subject: In linux, how to start tomcat where user is not root?


 Dear all,
 When I use a user other than root to login linux, and start tomcat:

 /usr/jakarta-tomcat-3.2.1/bin/./tomcat.sh start

 it shows many messages, and tomcat cannot properly started ( some JSP
 example programs also cannot be run)

 how can I start tomcat but not using root to login?

 Thanks and regards

 Sunny Yeung
 15-Aug-01






RE: In linux, how to start tomcat where user is not root?

2001-08-16 Thread Martin van den Bemt

The answer is quite simple (but not the one you want probably).
If it is gonna be a server on the internet : get a unix admin course, so you
can actually set up a good environment or ask someone who knows unix to help
you.. (sitting at your machine or having access to your machine). If I have
to cover all possibilities of setting up a machine safe for the internet, it
will take me a while.. (there are a lot of faq's on the linux documentation
project which can give you a head start on this).
If it is for development : just run as root.. We do that even on all
production servers (accept the development server, where everybody has is
own environment).
If you don't have access as root to the machine : let your admin help you
out to get things up and running..

Administration is not an easy job, you have to gather a lot of knowledge and
you can get that mostly by playing around and reading (the last is not my
way, unless I really don't have a clue).

So take it easy at first and if you get comfortable with unix, change it the
way you really want..

Hope the answer helps you anyway..

Mvgr,
Martin



 -Original Message-
 From: sunbel [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 16, 2001 12:41 PM
 To: [EMAIL PROTECTED]
 Subject: Re: In linux, how to start tomcat where user is not root?


 Dear Martin,

 Thanks very much for your reply,

 But... In linux field, I am just a kid, could you please
 describe in more
 detail how to assign right for other user to start tomcat?

 Your kindly reply will be very appreciated.
 Thanks thanks thanks
 Sunny
 16-Aug-01


 - Original Message -
 From: Martin van den Bemt [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, August 16, 2001 6:13 PM
 Subject: RE: In linux, how to start tomcat where user is not root?


  make sure you have sufficient rights... (what that should be is
 for you to
  figure out..)
  Running fine here with about 20 users, all under a non root account..
 
  Mvgr,
  Martin
 
   -Original Message-
   From: sunbel [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, August 16, 2001 12:23 PM
   To: [EMAIL PROTECTED]
   Subject: In linux, how to start tomcat where user is not root?
  
  
   Dear all,
   When I use a user other than root to login linux, and start tomcat:
  
   /usr/jakarta-tomcat-3.2.1/bin/./tomcat.sh start
  
   it shows many messages, and tomcat cannot properly started ( some JSP
   example programs also cannot be run)
  
   how can I start tomcat but not using root to login?
  
   Thanks and regards
  
   Sunny Yeung
   15-Aug-01