11.07.2015 Views

License Administration Guide - norsar

License Administration Guide - norsar

License Administration Guide - norsar

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 9: lmadmin <strong>License</strong> Server ManagerManaging lmadmin from the Command LineTask:To configure the lmadmin system service to run with non-elevated user privileges1. In your lmadmin installation directory, copy the sample shell-script file lmadmin, located in the /examples/service directory, to the /etc/rc.d/init.d directory.Important • Once the script is copied, make sure it has execution privilege.2. To update the run-level information for the service, execute the following command:chkconfig lmadmin on3. Modify the following line in the script to identify the lmdamin path:InstallDir="/opt/FNPlm/lmadmin"where the installDir value is the directory location where the lmadmin binary is installed.4. Modify the following line in the script to identify the user under which the lmadmin system service will run:lmadminUser="lmadmin"where the lmadminUser value is the name of the Service User account with the non-elevated privileges.5. Remove --pidfile=${pidFile} from following line under the start() section:daemon --user $lmadminUser --pidfile=${pidFile} "$lmadmin" -root "$installDir"6. Remove -p $pidFile from the following line under the stopserver() section:killproc -p $pidFile -d 10 $lmadmin7. Save the changes in the script.8. To start the lmadmin system service under the user you specified for lmadminUser, execute the followingcommand:service lmadmin startOther UNIX SystemsAfter configuring lmadmin to start up as a system service, as described in Installing lmadmin <strong>License</strong> ServerManager as an Operating System Service, modify the startup script (lmadmin or similar shell script) to run thelmadmin service with non-elevated privileges. Use the instructions in the previous section, Linux Systems, as aguide for editing the script. However, adjust the procedure as needed for your specific UNIX platform.Mac OS SystemsSee the previous section, Mac OS Systems, under Installing lmadmin <strong>License</strong> Server Manager as an OperatingSystem Service.<strong>License</strong> <strong>Administration</strong> <strong>Guide</strong> FNP-11111-LAG01 87

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!