Migrated to `redox_users` and some refactoring and docs.
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 usedeprintln!
where possible. -
su
: Refactored a bit and usedeprintln!
where possible. -
sudo
: Refactored a bit to simplify logic also usedeprintln!
where possible. -
whoami
: Refactored a bit and usedeprintln!/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
.