Registry / utility / pwd
library1.4.0rscratesunverified

Safe interface to pwd.h for retrieving password database entries.

# Cargo.toml [dependencies] pwd = "1.4.0"
INSTALL
IMPORT
SIG · PWD
P
pwd
utilityrustv1.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Passwd
use pwd::Passwd;

Looks up a user by name from the password database.

use pwd::Passwd; fn main() { if let Some(user) = Passwd::from_name("root") { println!("UID: {}", user.uid); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
pwd — cargo add pwd · libregistry