Trusted Solaris Administrator's Procedures

Adding Commands to the inittab File

Make the changes to the inittab(4) file, and then add the commands to the boot profile. For example, if a script in /usr/local/bin named mysite needs to run with real UID of root, the Security Administrator role does the following:

  1. Uses the Admin Editor to add an entry for the mysite script to /etc/inittab:


    lo:234:respawn:/usr/local/bin/mysite
  2. Uses the Rights tool with the Files scope to add the script /usr/local/bin/mysite to the boot rights profile with a real UID of 0.

See "To Add Commands to the /etc/inittab File".