Public
Authored by Emanuele Aina

Silly pam-auth-update reimplementation in shell + awk

A proof of concept non-GPLv3 (MPLv2) replacement of pam-auth-update. Only --package --force implemented, with no error handling. It would need to handle --remove, should be teached to put the output files somewhere more appropriate than the current directory, silence some debug stuff, then add a proper copyright and it should be Good Enough. :D

It supports:

  • the -Initial field variants (needed by unix)
  • the end marker to jump away (needed by unix)
  • the Session-Interactive-Only thing (needed by systemd)
  • ignores everything which is not Default = yes (that is, mkhomedir)
  • respects Priority
Edited
pam-auth-update.sh 2.73 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment