#user #user-name #information #system #directory #uid

users_native

Crate for obtaining user information on a system

1 unstable release

Uses old Rust 2015

0.1.0 Sep 27, 2015

#17 in #uid

GPL-3.0 license

14KB
174 lines

users_native

Parses the password file /etc/passwd to obtain information about users

This crate is available on crates.io and can be used by adding the following to your Cargo.toml file:

[dependencies]
users_native = "*"

lib.rs:

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

No runtime deps