seteuid.3

MudOS_0.9.18/doc/efuns/security/seteuid.3 · 540 B

From the archive MudOS_0.9.18.tar.gz

Download the archive   « Back to the archive contents

.\"set the effective user id (euid) of an object
.TH seteuid 3

.SH NAME
seteuid() - set the effective user id (euid) of an object

.SH SYNOPSIS
int seteuid(string str);

.SH DESCRIPTION
Set effective uid to `str'.  valid_seteuid() in master.c controls which
values the euid of an object may be set to.
.PP
When this value is 0, then the current object's uid can be changed by
export_uid(), and only then.
.PP
But, when the value is 0, no objects can be loaded or cloned by this object.

.SH SEE ALSO
export_uid(3), geteuid(3), seteuid(3).

Site Stats

Snippets: 1791
Codebases: 571