Thanks Maxim, but i mean for tomcat3 script.
sudo -u nobody $CATALINA_HOME/bin/startup.sh
...this command is for running from terminal, butfor tomcat3 script,
how?
Is it right this?:
$CATALINA_HOME/bin/startup.sh -u nobody
If i put the first command i get:
[root@archi]: /home/guadal># /etc/init.d/tomcat3 startUsing
CATALINA_BASE:   /opt/open500Using CATALINA_HOME:   /opt/open500Using
CATALINA_TMPDIR: /opt/open500/tempUsing JRE_HOME:        /usrUsing
CLASSPATH:       /opt/open500/bin/bootstrap.jar:/opt/open500/bin/tomcat
-juli.jartouch: no se puede efectuar `touch' sobre
'/opt/open500/logs/catalina.out': Permiso
denegado/opt/open500/bin/catalina.sh: línea 505:
/opt/open500/logs/catalina.out: Permiso denegado[root@archi]:
/home/guadal># 
Thanks

........................................


El lun, 20-07-2020 a las 12:02 +0700, Maxim Solodovnik escribió:
> Hello Alvaro,
> 
> On Sun, 19 Jul 2020 at 17:00, Alvaro <zurca...@gmail.com> wrote:
> > Hello Maxim,
> > 
> > Is it right this cpmmand to run OM as nobody user?:
> > 
> > $CATALINA_HOME/bin/startup.sh -u nobody
> 
> No this will not work this wayyou need to run ir as`sudo -u nobody
> $CATALINA_HOME/bin/startup.sh` 
> > Thanks
> > 
> > 
> > 
> > ....................
> 
> 
> -- 
> Best regards,
> Maxim

Reply via email to