Skip to main content

Module local_user_info

Module local_user_info 

Source

Functionsยง

finger_utmp_users
Retrieve information about all users currently logged in, based on utmpx records.
get_local_user ๐Ÿ”’
Retrieve local user information for the given username.
read_file_content_if_exists ๐Ÿ”’
Helper function to read the content of a file if it exists and is readable, returning None if the file does not exist or is not readable.
search_for_user
Search for users whose username or full name contains the search string.