Become superuser.
Copy the script to the appropriate directory as described in Table 28–1.
For example:
# cp SUNW,sample.pl /usr/lib/rcm/scripts |
Change the user ID and the group ID of the script to the desired values.
# chown user:group /usr/lib/rcm/scripts/SUNW,sample.pl |
Send SIGHUP to the RCM daemon.
# pkill -HUP -x -u root rcm_daemon |