Function sys_metrics::host::get_users [−][src]
pub fn get_users() -> Result<Vec<String>, Error>
Expand description
Get the list of real users.
Read them from /etc/passwd and extract ‘real users’ based on their ID following convention from /etc/login.defs (UID_MIN & UID_MAX).