NAME setuid - set user identity LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include int setuid ... DESCRIPTION setuid () sets the effective user ID of the calling process…NAME setuid - set user identity LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include int setuid ... DESCRIPTION setuid () sets the effective user ID of the calling process…process (on Linux, one having the CAP_SETUID capability) may set its real UID, effective ... setresuid (), the necessary capability is CAP_SETUID ; for setresgid (), it is CAP_SETG…process (on Linux, one having the CAP_SETUID capability) may set its real UID, effective ... setresuid (), the necessary capability is CAP_SETUID ; for setresgid (), it is CAP_SETG…process (on Linux, one having the CAP_SETUID capability) may set its real UID, effective ... setresuid (), the necessary capability is CAP_SETUID ; for setresgid (), it is CAP_SETG…process (on Linux, one having the CAP_SETUID capability) may set its real UID, effective ... setresuid (), the necessary capability is CAP_SETUID ; for setresgid (), it is CAP_SETG…privileged (does not have the CAP_SETUID capability in its user namespace) and euid does ... ALSO geteuid (2), setresuid (2), setreuid (2), setuid (2), capabilities (7), credential…necessary capability in its user namespace: CAP_SETUID in the case of setreuid ... seteuid (2), setgid (2), setresuid (2), setuid (2), capabilities (7), credentials (7), user_names…privileged (does not have the CAP_SETUID capability in its user namespace) and euid does ... ALSO geteuid (2), setresuid (2), setreuid (2), setuid (2), capabilities (7), credential…necessary capability in its user namespace: CAP_SETUID in the case of setreuid ... seteuid (2), setgid (2), setresuid (2), setuid (2), capabilities (7), credentials (7), user_names…necessary capability in its user namespace: CAP_SETUID in the case of setreuid ... seteuid (2), setgid (2), setresuid (2), setuid (2), capabilities (7), credentials (7), user_names…necessary capability in its user namespace: CAP_SETUID in the case of setreuid ... seteuid (2), setgid (2), setresuid (2), setuid (2), capabilities (7), credentials (7), user_names…slightly different question: "(assuming I'm a setuid binary) can the user who invoked ... chown (2), open (2), setgid (2), setuid (2), stat (2), euidaccess (3), credentials (7), pa…slightly different question: "(assuming I'm a setuid binary) can the user who invoked ... chown (2), open (2), setgid (2), setuid (2), stat (2), euidaccess (3), credentials (7), pa…slightly different question: "(assuming I'm a setuid binary) can the user who invoked ... chown (2), open (2), setgid (2), setuid (2), stat (2), euidaccess (3), credentials (7), pa…caller must have the CAP_SETUID capability in its user namespace in order to fetch ... caller did not have the CAP_SETUID capability. EPERM operation was KEYCTL_SESSION_TO_PARENTfails (because the caller lacks the CAP_SETUID capability). SEE ALSO kill (2), setfsgidfails (because the caller lacks the CAP_SETUID capability). SEE ALSO kill (2), setfsgid