Handbook
Glossary
set-effective-user ( string/id -- )
Unix users
Prev:
effective-user-id ( -- id )
Next:
with-real-user ( string/id/f quot -- )
Vocabulary
unix
.
users
Inputs
string/id
a string or a user id
Outputs
None
Word description
Sets the current effective user given a user-name or a user id.
See also
real-user-name
,
real-user-id
,
set-real-user
,
effective-user-name
,
effective-user-id
Definition
IN:
unix.users
GENERIC:
set-effective-user
( string/id -- )
Methods
USING:
math
unix.users
unix.users.private
;
M:
integer
set-effective-user
(set-effective-user)
;
USING:
strings
unix.users
unix.users.private
;
M:
string
set-effective-user
?user-id
(set-effective-user)
;