set-real-user ( string/id -- ) (original) (raw)
set-real-user ( string/id -- )
Unix users
Prev: | real-user-id ( -- id ) |
---|---|
Next: | effective-user-name ( -- string ) |
Inputs
string/id | a string or a user id |
---|
Outputs
None
Word description
Sets the current real user given a user-name or a user id.
See also
real-user-name, real-user-id, effective-user-name, effective-user-id, set-effective-user
Definition
GENERIC: set-real-user ( string/id -- )
Methods
USING: math unix.users unix.users.private ;
M: integer set-real-user (set-real-user) ;