|Linux & Unix Commands - Search Man Pages
setuid, setgid - set user and group ID
The user ID (group ID) of the current process is set to the argument. Both the effective
and the real ID are set. These calls are only permitted to the super-user or if the argu-
ment is the real ID.
Zero is returned if the user (group) ID is set; -1 is returned otherwise.
(setuid = 23.)
(user ID in r0)
(setgid = 46.)
(group ID in r0)
All times are GMT -4. The time now is 11:37 PM.