[fedora-java] su to tomcat user?

John M. Gabriele john_sips_tea at yahoo.com
Tue Aug 9 15:53:39 UTC 2005



--- Gary Benson <gbenson at redhat.com> wrote:

> John M. Gabriele wrote:
> > I noticed there's a tomcat user on my system:
> > 
> > [root at localhost ~]# cat /etc/passwd | grep tom
> > tomcat:x:91:91:Tomcat:/usr/share/tomcat5:/bin/sh
> > 
> > I'm just getting started using Tomcat on FC4.
> > 
> > Should I be su'ing to tomcat to work with files
> > in (and copy files into) /var/lib/tomcat5?
> > 
> > Or do I work in there as root, then chown -R
> > everthing to root:tomcat when I'm done?
> 
> Neither, ideally.  You should be able to work as root and leave the
> files owned as root.  Or as any other user: I'll often create a
> directory /var/lib/tomcat5/webapps/whatever and chown it gary.gary,
> and then just work in there under my normal login.
> 

What's the purpose of having a "tomcat" user on the
system at all?

What's the point of having those links in
/usr/share/tomcat5?



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 




More information about the fedora-devel-java-list mailing list