Plan 9 from Bell Labs’s /n/sources/contrib/dho/kimp/vn/eve

Copyright © 2009 Alcatel-Lucent.
Distributed under the Lucent Public License version 1.02.
Download the Plan 9 distribution.


.TH EVE 10
.SH NAME
eve, iseve \- privileged user
.SH SYNOPSIS
.ta \w'\fLchar* 'u
.B
char	eve[NAMELEN] = "bootes";
.PP
.B
int	iseve(void)
.SH DESCRIPTION
.I Eve
is a null-terminated string containing the name of the owner of
the Plan 9 system (sometimes called the `host owner',
see
.IR cons (3)).
The identity is set on a terminal to the name of the user who logs in.
It is set on a CPU server to the
.I authid
obtained either from NVRAM or by a console prompt.
The initial process created by system initialisation is given the
.I eve
identity.
.PP
.I Iseve
returns true if the current user is
.IR eve .
Several drivers use
.I iseve
to check the caller's identity
before granting permission to perform certain actions.
For example, the console driver allows only the user
.I eve
to write a new identity into the
.B /dev/user
file.
The privileges are strictly local and do not extend into the network
(in particular, to file servers).
.SH SOURCE
.B /sys/src/9/port/auth.c
.SH SEE ALSO
.IR auth (2),
.IR cap (3),
.IR cons (3),
.IR auth (6),
.IR auth (8)

(This is a user-contributed directory and
should not be interpreted as statement by Alcatel-Lucent.)

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2009 Alcatel-Lucent. All Rights Reserved.
Comments to webmaster@plan9.bell-labs.com.