O'Reilly logo

Solaris™ 8 Advanced System Administrator's Guide, Third Edition by Janice Winsor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required