Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setuid(II) — UNIX 6th Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getuid (II)

SETUID(II)  −  PWB/UNIX 8/5/73

NAME

setuid − set process user ID

SYNOPSIS

(setuid = 23.) 
(user ID in r0)
sys setuid setuid(uid)

DESCRIPTION

The user ID of the current process is set to the argument.  Both the effective and the real user ID are set.  This call is only permitted to the super-user or if the argument is the real user ID. 

SEE ALSO

getuid (II)

DIAGNOSTICS

Error bit (c-bit) is set as indicated; from C, a −1 value is returned. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026