Privileges and Interfaces Requiring Privilege



next up previous contents
Next: Privilege Determination and Up: Privilege Previous: Super-user and Appropriate

Privileges and Interfaces Requiring Privilege

Under the POSIX.6 privilege mechanism, the granting of privilege is based on the combination of privilege attributes belonging to a process (process privilege attributes) and privilege attributes belonging to a file (file privilege attributes). This allows the mechanism to not be based solely on the user: privileges associated with files are also taken into consideration. The POSIX.6 standard does not preclude that a single user be granted all privileges all of the time (the super-user concept), although this absolute granting of privilege is strongly discouraged from being practiced.

The POSIX.1 interfaces that are covered by the POSIX.6 privilege policies (meaning that appropriate privilege is required) include:

The POSIX.6 interfaces that are covered by the POSIX.6 privilege policies include: The set of privileges that are defined by the POSIX.6 standard are somewhat analogous to the functions listed above. For example, opening a file (using the open() interface) requires that the user either be the file owner, or not be the file owner but possess appropriate privilege. Possessing appropriate privilege would mean that the user's process has the priv_fowner privilege. (The priv_fowner privilege allows a process to perform all the functions that file owners have over their files.)



next up previous contents
Next: Privilege Determination and Up: Privilege Previous: Super-user and Appropriate



John Barkley
Fri Oct 7 16:17:21 EDT 1994