Skip to main content

Module users

Module users 

Source

Functionsยง

format_users
Format the user list as a single space-separated line (matching GNU users output).
get_users
Retrieve a sorted list of currently logged-in user names from utmpx. If file is Some, reads from that file; otherwise uses the default database with systemd fallback.
get_users_from