Forgetting to set allowed privileges on the privileged
program's executable.
When an application or script is added to a profile and assigned
some privileges, the executable file needs the same allowed
privileges. See the
FAQ on setting allowed privileges on executables.
When installing an application, running a privileged program
from a CD-ROM, but forgetting to set allowed privileges when
mounting the CD-ROM.
If an installation program (application or script) uses any
executables from the CD-ROM that need privileges, or if the
installation program runs from the CD-ROM and needs privileges
itself, the CD-ROM must be mounted with allowed privileges.
To have the device allocation manager automatically mount the
CD-ROM with allowed privileges, the security administrator can
specify the allowed privileges for the CD-ROM in the
vfstab_adjunct(4TSOL) file. See Procedure.
Forgetting to add a command to a profile when the command
needs the trusted path attribute. Trusted Solaris 8 does not need
this step because the trusted path is always asserted when a role
does something.
Read the
FAQ about the trusted path WARNING and the trusted path
requirement for certain commands. Listing a command in a profile
allows it to run with the trusted path attribute.
This procedure shows how to set up to install an application
when its installation program(s) are on a CD-ROM and when the
program(s) need to be added to an execution profile, either because
the program(s) need specific privilege(s) or they need to run with
the trusted path or both.
Assume the admin role.
Ensure that the /etc/nsswitch.conf file entry for
tsolprof has the correct entry.
Double-click the Application Manager icon in the right front
panel. (The icon looks like a file drawer with a ruler, calculator,
and pencil sticking up.)
Double-click the System_Admin folder.
Double-click the Name Service Switch action to open the
/etc/nsswitch.conf file for editing.