Connor-GH ac3cff2c7a getty: use standard C functions
grantpt() and unlockpt() need to be used according to the standard, even
though our grantpt is a no-op (since we auto-lock ptys as we give them
out).

This is part of my series for ptyd. This can be safely merged as long as
the relibc/ and base/ changes are merged at the same time.
2026-07-08 22:01:40 +03:00
2026-07-08 22:01:40 +03:00

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.

Travis Build Status

Currently included:

  • getty: Used by init(8) to open and initialize the TTY line, read a login name and invoke login(1).
  • id: Displays user identity.
  • login: Allows users to login into the system
  • passwd: 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 user
  • usermod: Modify user information
  • userdel: Delete a user
  • groupadd: Add a user group
  • groupmod: Modify group information
  • groupdel: Remove a user group
S
Description
RedBear Operating System, based on RedoxOS. Licenced under MIT license.
https://redbearos.org
Readme MIT 17 GiB
Languages
Rust 99.6%
Linker Script 0.2%
Makefile 0.1%
Shell 0.1%