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§
- Structure used to wrap parsed information from user database
Functions§
- Alternative to
get_users
, in the case that the user database. Returns a vector of all users on the system - Gets the current user
- Gets the current username
- Gets a user by their name
- Gets a user by their UID
- Returns a vector of all users on the system