Expand description
This library parses /etc/passwd
for information about groups on a system
Groups are represented in /etc/passwd
in the form of:
user_name:password:UID:GID:GECOS:home_dir:shell
Structs§
- User
- Structure used to wrap parsed information from user database
Functions§
- alt_
get_ users - Alternative to
get_users
, in the case that the user database. Returns a vector of all users on the system - get_
current_ user - Gets the current user
- get_
current_ username - Gets the current username
- get_
user_ by_ name - Gets a user by their name
- get_
user_ by_ uid - Gets a user by their UID
- get_
users - Returns a vector of all users on the system