[systemd-devel] password agent helper program and example

Frederick Roeber roeber at didyma.org
Wed Aug 5 16:08:02 PDT 2015


Last year, when I was installing a bunch of headless servers, I wrote a
password agent.

I wrote a C program to deal with the "hard" part (inotify, NotAfter, the
socket) and then fork a child to do the "simple" part (in my case, a script
to flash some LEDs to prompt the user and then read the key(s) from an
inserted USB stick.)

It all wraps up in a local rpm I put on my kickstart USB; the kickstart
file(s) flash the LEDs and generate keys; there's a dracut module so the
password agent is included in the boot sequence.


It occurs to me that my password agent helper might be useful to other
people, either as an example in C, or as a helper so they only have to
write a simple script to get a password.  I'm now installing F22 on some
machines, and I'm about to dust off my code.

Do you guys think my code might be useful, and if so, to whom should I
offer it?  It's somewhat at the intersection of systemd, dracut, and
kickstart.

Cheers,
Frederick.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150805/74baae0c/attachment.html>


More information about the systemd-devel mailing list