{unixtools}R Documentation

Get unix user information

Description queries the user database to obtain information about a list of users.

Usage = NULL)



a character string of user names, numeric vectors of user IDs or NULL to obtain information about the current user

Details queries the user database to find the specified users. Each element of users will result in one row in the resulting data frame. If the user cannot be found, all entries in the row will be NA.

The database implementation is system-specific. It is not limited to the legacy /etc/passwd but insead uses getpw* system calls which may also query NIS, DomainServices, LDAP and other sources as configured in the system.


data frame with users as row names and the columns name, uid, gid, realname, home and shell. Columns uid and gid are integer vectors, all others are character vectors.


Simon Urbanek

Examples"root", "admin", "daemon"))

[Package unixtools version 0.1-1 Index]