AnsweredAssumed Answered

Moving to non-root user

Question asked by mandoskippy on Aug 29, 2012
Latest reply on Aug 29, 2012 by nabeel
I am following the steps for moving to a non-root user for running mapr in 2.0.0.  The instructions ( copied below)
specify that set the MAPR_USER ENV Var. Is that something I need permanently set, or just set the run the scripts in the other steps. It's unclear about that.



Steps to move the cluster from root to non-root:

Create a user with the same UID/GID across the cluster.

Assign that user to the MAPR_USER environment variable.

On each node:

Stop the Warden service and the ZooKeeper service, if present.

    /etc/init.d/mapr-warden stop
    /etc/init.d/mapr-zookeeper stop
Run the script.

    /opt/mapr/config-mapr-user.sh -u $MAPR_USER
    

Start the Warden service and the ZooKeeper service, if present.

    /etc/init.d/mapr-warden start
    /etc/init.d/mapr-zookeeper start
    

Run the script.

    /opt/mapr/server/upgrade2mapruser.sh

Outcomes