passwd 0.0.1

Bindings for libc /etc/passwd password functions
Documentation
  • Coverage
  • 100%
    11 out of 11 items documented1 out of 4 items with examples
  • Size
  • Source code size: 4.61 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 990 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • ids1024/passwd-rs
    3 1 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ids1024

This modules provides a wrapper around the libc functions in pwd.h for handling the /etc/passwd file, which stores information about users.

Examples

println!("{:?}", Passwd::from_name("root"));
println!("{:?}", Passwd::from_uid(0));