logo

skeud

Simple and portable utilities to deal with user accounts (su, login)

README.md (1262B)


  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 Environment
  8. - libc with `termios.h`
  9. - `/dev/tty` file pointing to currently attached console
  10. - (test-only) [ATF](https://github.com/jmmv/atf)
  11. - (test-only) [Kyua](https://github.com/jmmv/kyua)
  12. - (lint-only) [reuse](https://reuse.software/)
  13. - (lint-only) [flawfinder](https://github.com/jmmv/kyua)
  14. - (lint-only) [mandoc](https://mdocml.bsd.lv/)
  15. ## Unsupported
  16. - Broken authentication systems like PAM
  17. - Remote host arguments (believed to be legacy)
  18. - `/etc/login.defs` configuration file
  19. - Checking for emails, consider using `/etc/profile` or `~/.profile` instead
  20. - Dangerous features:
  21. - empty password field disabling authentication
  22. - `utmp` / `wtmp`: Prone to corrupting itself and can be faked
  23. - OS-specific utilities like `passwd`, `useradd`, `gpasswd`, …
  24. <!--
  25. Copyright © 2022 Haelwenn (lanodan) Monnier <contact+skeud@hacktivis.me>
  26. SPDX-License-Identifier: MPL-2.0
  27. -->