fba0c70ae24be52658ced1bb5504ba29568d8a2b
I did a number of things here: the *add, *mod, and *del utilities, as well as id recieved substantial changes, probably what you'd call a rewrite. This was of course using clap-rs. These should all be very stable at this point (except unimplemented features in usermod, grr) getty, passwd, and su are simply ported, using clap for arg parsing. I didn't change any of the logic, just swapped ArgParser for clap. Fixed a bug with passwd and unset passwords I'll open issues about the ones I didn't mention.
Redox OS user and group utilities.
The userutils crate contains the utilities for dealing with users and groups in Redox OS.
They are heavily influenced by UNIX and are, when needed, tailored to specific Redox use cases.
These implementations strive to be as simple as possible drawing particular inspiration by BSD systems. They are indeed small, by choice.
Currently included:
getty: Used byinit(8)to open and initialize the TTY line, read a login name and invokelogin(1).id: Displays user identity.login: Allows users to login into the systempasswd: Allows users to modify their passwords.su: Allows users to substitute identity.sudo: Enables users to execute a command as another user.useradd: Add a usergroupadd: Add a user groupwhoami: Display effective user ID.
Description
RedBear Operating System, based on RedoxOS. Licenced under MIT license.
https://redbearos.org
Languages
C
37.5%
C++
37.2%
JavaScript
6.7%
QML
3.4%
HTML
3.2%
Other
11.4%