Skip to content

Migrated to `redox_users` and some refactoring and docs.

Jeremy Soller requested to merge goyox86:goyox86-redox-users into master

Created by: goyox86

Details

  • Updated dependencies with redox_users.
  • Migrated all user/group dependent functionality to calls to redox_users.
  • Added top level documentation to the crate.
  • Added a spawn_shell function to reuse a bit of code.
  • login: Handled the case of an invalid login with "Login incorrect" (as in BSD).
  • passwd: Refactored a bit and used eprintln! where possible.
  • su: Refactored a bit and used eprintln! where possible.
  • sudo: Refactored a bit to simplify logic also used eprintln! where possible.
  • whoami: Refactored a bit and used eprintln!/println! where possible.
  • Also added myself on the AUTHORS section :).

I spent few hours testing and the behavior is the same as in Redox 0.3.4.

Merge request reports