Deployment Example 1: Access Manager 7.0 Load Balancing, Distributed Authentication UI, and Session Failover

ProcedureTo Reconfigure the Web Server Administration Servers to Run as Non-Root Users

In this procedure, you reconfigure the administration server for each of the Web Servers that contain Access Manager. Although this is not required, it's a good practice to run the Access Manager Web Servers and their administration servers as the same non-root user ID. This eliminates permissions problems. For example, if the Access Manager Web Server runs as a non-root user, and its administration server runs as a root user, then files created by the administration server may not be readable by the Access Manager Web Server.

  1. As a root user, log into host AccessManager-1.

  2. Stop the Web Server administration server by issuing the commands:


    # cd /opt/SUNWwbsvr/https-admserv 
    # ./stop 
  3. Change the “runs as” user ID from root to nobody.


    # cd /opt/SUNWwbsvr/
    # chown -R nobody:nobody https-admserv/* httpacl/ alias 
    # rm -rf /tmp/https-admserv 
  4. Edit the magnus.conf file.

    Make a backup of this file before making changes to the file.


    # vi https-admserv/config/magnus.conf

    Change the User property value from root to nobody.

  5. Verify that the Web Server administration server successfully runs as a non–root user.

    1. As a root user, log into host AccessManager-1.

    2. Start the Access Manager server:

      # cd /opt/SUNWwbsvr/https-admserv/

      # ./start

    3. Use ps command to confirm the started Web Server process indeed runs as nobody.

      # ps -ef | grep admserv

  6. As a root user, log into host AccessManager-2.

  7. Stop the Web Server administration server by issuing the commands:


    # cd /opt/SUNWwbsvr/https-admserv 
    # ./stop 
  8. Change the “runs as” user ID from root to nobody.


    # cd /opt/SUNWwbsvr/
    # chown -R nobody:nobody https-admserv/* httpacl/ alias 
    # rm -rf /tmp/https-admserv 
  9. Edit the magnus.conf file.


    # vi https-admserv/config/magnus.conf

    Change the User property value from root to nobody.

  10. Verify that the Web Server administration server successfully runs as a non–root user.

    1. As a root user, log into host AccessManager-2.

    2. Start the Access Manager server:

      # cd /opt/SUNWwbsvr/https-admserv/

      # ./start

    3. Use ps command to confirm the started Web Server process indeed runs as nobody.

      # ps -ef | grep admserv