[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ] Unix users

Builtin Class: <sys-passwd>
Unix user information. Has following slots.

Instance Variable: <sys-group> name
User name.

Instance Variable: <sys-group> uid
User ID.

Instance Variable: <sys-group> gid
User's primary group id.

Instance Variable: <sys-group> passwd
User's (encrypted) password. If the system uses the shadow password file, you just get obscure string like "x".

Instance Variable: <sys-group> gecos
Gecos field.

Instance Variable: <sys-group> dir
User's home directory.

Instance Variable: <sys-group> shell
User's login shell.

Instance Variable: <sys-group> class
User's class (only available on some systems).

Function: sys-getpwuid uid
Function: sys-getpwnam name
[POSIX] Returns <sys-passwd> object from an integer user id uid or a user name name, respectively. If the specified user doesn't exist, #f is returned.

Function: sys-uid->user-name uid
Function: sys-user-name->uid
Convenience functions to convert between user id and user name.

This document was generated by Ken Dickey on November, 28 2002 using texi2html