Rights Hierarchies

With the Rights tool, you can add a right to a right, which means the same command could be included more than once in a right. The order of rights is important. Just as with searches for the PATH variable, searches for commands in a right use the first occurrence of the command it finds. For example, you might specify the /usr/bin/date command in one right with an effective UID of root but specify it in another right to run as the normal user. Always list the most specific and powerful rights first, followed by subordinate rights. Any wildcard entries should be last in the list.

You can change the order of rights within rights from the Rights tool.

Use the following steps to change the order of rights within rights.

1.
From ...

Get Solaris™ 8 Advanced System Administrator's Guide, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.