From owner-freebsd-java@FreeBSD.ORG Thu Jul 14 06:34:49 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D00916A41C for ; Thu, 14 Jul 2005 06:34:49 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 293C043D46 for ; Thu, 14 Jul 2005 06:34:47 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j6E6YgKU018602; Thu, 14 Jul 2005 09:34:42 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.184] (ajax.ebs.gr [10.1.1.184]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j6E6YgJY000219; Thu, 14 Jul 2005 09:34:42 +0300 (EEST) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.0.323 [267.8.13]); Thu, 14 Jul 2005 09:34:40 +0300 Message-ID: <42D60780.8020808@ebs.gr> Date: Thu, 14 Jul 2005 09:34:40 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Achilleus Mantzios References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 8bit Cc: Bryan Maynard , FreeBSD Java Subject: Re: Tomcat locked down X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 06:34:49 -0000 Achilleus Mantzios wrote: > O Bryan Maynard έγραψε στις Jul 13, 2005 : > > >>I know this is a simple thing. . . ;-) >> >>I installed Tomcat 5.0.30 from the ports and just entered: make install clean. >> >>Tomcat seems to run fine, but i can't do anything with it! My user account >>"Bryan", but Tomcat runs under user "www" so I have to either go to a >>terminal or log into KDE as root to do anything with Tomcat. Aside from being >>annoying, the problem with this is that I've also installed sysdeo tomcat >>plugin for eclipse. When I am logged in a root, I can start, stop, and >>restart Tomcat just fine. But when I'm logged in as Bryan no such luck. I've >>tried running Eclipse under "root", but I get an su error when I try that. > > > /etc/rc.d, /usr/local/etc/rc.d/ tasks are not to be stopped and started > by anyone. Only root can do this. > > >>I also cannot drop webapps nto the webapps forder. This is a problem because I >>am using Apache Axis and need to put Axis' stuff (jars and such) in the >>webapps folder. I can't keep switching back and forth between root and Bryan, >>and certainly can't do all my dev work as root! >> >>I know there's a simple solution to all this, I just don't know what it is! >>Thanks for all your help. . . >> >>Bryan >> > > > IMO, just try to get a little more familiar with the whole system, > and i am sure you will find all the solutions you need. > > In KDE one good way of organizing your workstation is > configuring 2,3,4,etc... virtual desktops. > Then name each desktop after a name that describes > the work done in it. > > So you could have an admin virtual desktop (with all xterms as root), > a development desktop (with terms as bryan), an internet desktop > (kmail, mozilla,etc...), and so forth. > > Once you get used to it you will find it very handy. > switches between them. > What I usually do on my development workstations is to chown -R the tomcat/jboss/eclipse/etc. directories to my own userid. I do appreciate the default userid/permissions on server installations, however. Cheers, Panagiotis