logo

skeud

Simple and portable utilities to deal with user accounts (su, login)git clone https://anongit.hacktivis.me/git/skeud.git/

README.md (1200B)


  1. # skeud: Simple and portable utilities to deal with user accounts (su, login)
  2. skeud /skød/ (Brezhoneg): shadow / reflection / ghost
  3. Status: Experimental, enough done to work but needs thorough review.
  4. ## Features
  5. - Based on `getpwnam(3)` (and `getspnam(3)` on Linux), making it compatible with systems like [tcb shadow](https://www.openwall.com/tcb/)
  6. ## Dependencies
  7. - POSIX.1-2008 environment (`/dev/tty`, make, ...)
  8. - C11 Compiler
  9. - Proper support for static executables (glibc is out)
  10. - `initgroups()` C interface in `<grp.h>` or `<unistd.h>`
  11. - (lint-only) [mandoc](https://mdocml.bsd.lv/)
  12. ## Unsupported
  13. - Broken authentication systems like PAM and [nsswitch](https://skarnet.org/software/nsss/nsswitch.html)
  14. - Remote host arguments (believed to be legacy)
  15. - `/etc/login.defs` configuration file
  16. - Checking for emails, consider using `/etc/profile` or `~/.profile` instead
  17. - Dangerous features:
  18. - empty password field disabling authentication
  19. - `utmp` / `wtmp`: Prone to corrupting itself and can be faked
  20. - OS-specific utilities like `passwd`, `useradd`, `gpasswd`, …
  21. <!--
  22. Copyright © 2022 Haelwenn (lanodan) Monnier <contact+skeud@hacktivis.me>
  23. SPDX-License-Identifier: MPL-2.0
  24. -->