--- Gary Benson <gbenson(a)redhat.com> wrote:
John M. Gabriele wrote:
> I noticed there's a tomcat user on my system:
>
> [root@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