logo

skeud

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

README.md (1381B)


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