setuid man page on Xenix

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

SETUID(3)							     SETUID(3)

NAME
       setuid, seteuid, setruid, setgid, setegid, setrgid - set user and group
       ID

SYNOPSIS
       #include <sys/types.h>

       setuid(uid)
       seteuid(euid)
       setruid(ruid)
       uid_t uid, euid, ruid;

       setgid(gid)
       setegid(egid)
       setrgid(rgid)
       gid_t gid, egid, rgid;

DESCRIPTION
       Setuid (setgid) sets both the real and effective user ID (group ID)  of
       the current process to as specified.

       Seteuid	(setegid) sets the effective user ID (group ID) of the current
       process.

       Setruid (setrgid) sets the real user  ID	 (group	 ID)  of  the  current
       process.

       These  calls are only permitted to the super-user or if the argument is
       the real or effective ID.

SEE ALSO
       setreuid(2), setregid(2), getuid(2), getgid(2)

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

4.2 Berkeley Distribution	 May 12, 1986			     SETUID(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Xenix

List of man pages available for Xenix

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