Skip to content
forked from redox-os/users

Redox OS APIs for accessing users and groups information

License

Notifications You must be signed in to change notification settings

Happy-Ferret/users

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redox_users

Redox OS APIs for accessing users and groups information.

High level APIs for:

  • Getting the current process effective user ID.
  • Getting the current process user ID.
  • Getting the current process effective group ID.
  • Getting the current process group ID.
  • Manipulating User and Group information (including adding, removing, and modifying groups and users, in addition to other functionality, see docs)

We recommend to use these APIs instead of directly manipulating the /etc/group and /etc/passwd as this is an implementation detail and might change in the future.

Using redox_users

Make sure you have Rust nightly.

Add redox_users to Cargo.toml:

[dependencies.redox_users]
git = "https://github.com/redox-os/users.git"

then import it in your main file:

extern crate redox_users;

And redox_users is now ready to roll!

About

Redox OS APIs for accessing users and groups information

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%