Skip to main content
fsorvin40597071
Participant
July 27, 2018
Question

AMS running as root

  • July 27, 2018
  • 0 replies
  • 208 views

I'm doing a bit of hardening on my Adobe Media Server, following the guide posted here:

Hardening guide for Flash Media Server | Adobe Developer Connection

I've configured it in server.xml to have the amsadmin process run as a user, but it still runs as root. Here's what I configured in server.xml:

<!-- Configures UID and GID for all the server processes       -->

                        <!-- In unix, all the server processes will switch from root   -->

                        <!-- to the UID and GID specified in this section for security -->

                        <!-- reason.  If no UID and GID are specified, the server      -->

                        <!-- will be running as root.                                  -->

                        <Process>

                                    <!-- Process user ID (unix only) -->

                                    <UID>${SERVER.PROCESS_UID}</UID>

                                    <!-- Process group ID (unix only) -->

                                    <GID>${SERVER.PROCESS_GID}</GID>

                        </Process>

The  SERVER.PROCESS_UID and SERVER.PROCESS_GID variables are properly defined in the ams.ini file.

Is there something I'm doing wrong?

Thanks!

This topic has been closed for replies.