<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to check if Alfresco is really running as root? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-alfresco-is-really-running-as-root/m-p/298122#M251252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't think of a good reason to run Alfresco as root. I can think of a lot of good reasons not to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check, just do ps -ef|grep alfresco and look to see who owns the process. Here's an example:&lt;/P&gt;&lt;PRE&gt;ubuntu@some-host:~$ ps -ef|grep tomcat&lt;BR /&gt;ubuntu&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 943&amp;nbsp;&amp;nbsp; 922&amp;nbsp; 0 18:24 pts/0&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:00 grep --color=auto tomcat&lt;BR /&gt;alfresco 25682&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 28 Sep02 ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5-14:28:30 /opt/alfresco/java/bin/java -Djava.util.logging.config.file=/opt/alfresco/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms512M -Xmx3992M -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Djava.awt.headless=true -Dalfresco.home=/opt/alfresco -XX:ReservedCodeCacheSize=128m -Xmx2G -Djavax.net.ssl.keyStore=/data/alf_data/keystore/someKeystore.jks -Djavax.net.ssl.keyStorePassword=ue27Uc5ZiFwV -Djava.endorsed.dirs=/opt/alfresco/tomcat/endorsed -classpath /opt/alfresco/tomcat/bin/bootstrap.jar:/opt/alfresco/tomcat/bin/tomca-juli.jar -Dcatalina.base=/opt/alfresco/tomcat -Dcatalina.home=/opt/alfresco/tomcat -Djava.io.tmpdir=/opt/alfresco/tomcat/temp org.apache.catalina.startup.Bootstrap start&lt;/PRE&gt;&lt;P&gt;That "alfresco" next to 25682 says this process is running as the alfresco user, not root, which is what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2016 18:28:03 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2016-09-22T18:28:03Z</dc:date>
    <item>
      <title>How to check if Alfresco is really running as root?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-alfresco-is-really-running-as-root/m-p/298121#M251251</link>
      <description>Hi,I am running Alfresco Community 4.2.f on Ubuntu 14.04.&amp;nbsp; I installed Alfresco using the downloaded bin file alfresco-community-4.2.f-installer-linux-x64.bin.I wanted to run a content transformation from tif to txt, and have created the ocrtiff-transform-context.xml in /opt/alfresco-4.2.f/tomcat/sh</description>
      <pubDate>Sat, 22 Aug 2015 07:30:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-alfresco-is-really-running-as-root/m-p/298121#M251251</guid>
      <dc:creator>kylee</dc:creator>
      <dc:date>2015-08-22T07:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if Alfresco is really running as root?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-alfresco-is-really-running-as-root/m-p/298122#M251252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't think of a good reason to run Alfresco as root. I can think of a lot of good reasons not to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check, just do ps -ef|grep alfresco and look to see who owns the process. Here's an example:&lt;/P&gt;&lt;PRE&gt;ubuntu@some-host:~$ ps -ef|grep tomcat&lt;BR /&gt;ubuntu&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 943&amp;nbsp;&amp;nbsp; 922&amp;nbsp; 0 18:24 pts/0&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:00 grep --color=auto tomcat&lt;BR /&gt;alfresco 25682&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 28 Sep02 ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5-14:28:30 /opt/alfresco/java/bin/java -Djava.util.logging.config.file=/opt/alfresco/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms512M -Xmx3992M -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Djava.awt.headless=true -Dalfresco.home=/opt/alfresco -XX:ReservedCodeCacheSize=128m -Xmx2G -Djavax.net.ssl.keyStore=/data/alf_data/keystore/someKeystore.jks -Djavax.net.ssl.keyStorePassword=ue27Uc5ZiFwV -Djava.endorsed.dirs=/opt/alfresco/tomcat/endorsed -classpath /opt/alfresco/tomcat/bin/bootstrap.jar:/opt/alfresco/tomcat/bin/tomca-juli.jar -Dcatalina.base=/opt/alfresco/tomcat -Dcatalina.home=/opt/alfresco/tomcat -Djava.io.tmpdir=/opt/alfresco/tomcat/temp org.apache.catalina.startup.Bootstrap start&lt;/PRE&gt;&lt;P&gt;That "alfresco" next to 25682 says this process is running as the alfresco user, not root, which is what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 18:28:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-alfresco-is-really-running-as-root/m-p/298122#M251252</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2016-09-22T18:28:03Z</dc:date>
    </item>
  </channel>
</rss>

