setuid man page on UNIXv7

Man page or keyword search:  
man Server   300 pages
apropos Keyword Search (all sections)
Output format
UNIXv7 logo
[printable version]

SETUID(2)							     SETUID(2)

NAME
       setuid, setgid - set user and group ID

SYNOPSIS
       setuid(uid)

       setgid(gid)

DESCRIPTION
       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  per‐
       mitted to the super-user or if the argument is the real ID.

SEE ALSO
       getuid(2)

DIAGNOSTICS
       Zero  is	 returned if the user (group) ID is set; -1 is returned other‐
       wise.

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

       (setgid = 46.)
       (group ID in r0)
       sys setgid

								     SETUID(2)
[top]

List of man pages available for UNIXv7

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net