diff options
Diffstat (limited to 'man2/setuid.2')
| -rw-r--r-- | man2/setuid.2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man2/setuid.2 b/man2/setuid.2 index e7266b1fe3..2e066fa958 100644 --- a/man2/setuid.2 +++ b/man2/setuid.2 @@ -43,11 +43,11 @@ the real and saved user ID's are also set. Under Linux, .B setuid is implemented like the POSIX version with the _POSIX_SAVED_IDS feature. -This allows a setuid (other than root) program to drop all of its user +This allows a set-user-ID (other than root) program to drop all of its user privileges, do some un-privileged work, and then re-engage the original effective user ID in a secure manner. .PP -If the user is root or the program is setuid root, special care must be +If the user is root or the program is set-user-ID-root, special care must be taken. The .B setuid function checks the effective user ID of the caller and if it is @@ -56,7 +56,7 @@ the superuser, all process related user ID's are set to After this has occurred, it is impossible for the program to regain root privileges. .PP -Thus, a setuid-root program wishing to temporarily drop root +Thus, a set-user-ID-root program wishing to temporarily drop root privileges, assume the identity of a non-root user, and then regain root privileges afterwards cannot use .BR setuid . |
