<html><head></head><body>I'm far too lazy 😋<br><br>Basically by using the sshd with centos7+ and freeipa to manage everything, users can copy their ssh pub key into ldap using a web gui.<br><br>When a user then ssh to a freeipa managed host, sshd knows to look for pub key in ldap and ~/.ssh/<file from config>. The pub key storage on ldap is keyed on the user name as expected. <br><br>This should also with Debian, suse, ubuntu, fedora and most derivatives. Don't know about aspen or gentoo.<br><br><div class="gmail_quote">On May 1, 2020 4:03:41 PM EDT, Steve Litt via Ale <ale@ale.org> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Hi Jim,<br><br>Could you please draw a block diagram of your key retrieval from ldap<br>via FreeIPA idea, including interactions with systemd, LUKS, D-Bus,<br>logind, and any remnants of PAM?<br><br>Afterwords, as we gaze upon your diagram, we can contemplate that<br>according to the article's author, systemd-homed was created to:<hr>"So, for the simple act of logging in, three<br>mechanisms are required (systemd, /etc/shadow, /etc/passwd). This is<br>inefficient."<hr>SteveT<br><br>Steve Litt<br>March 2020 featured book: Troubleshooting: Why Bother?<br><a href="http://www.troubleshooters.com/twb">http://www.troubleshooters.com/twb</a><br><br><br>On Fri, 01 May 2020 07:23:47 -0400<br>Jim Kinney via Ale <ale@ale.org> wrote:<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Was thinking about the ssh part. Ssh has the ability to retrieve keys<br>from ldap. Ok, so not all releases but most of the big distros now<br>ship that ability. FreeIPA is a scalable tool for user management<br>that is easy for users to publish their pub key with into ldap.<br><br>On May 1, 2020 7:18:36 AM EDT, Solomon Peachy via Ale <ale@ale.org><br>wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;">On Thu, Apr 30, 2020 at 02:59:44PM -0400, Boris Borisov via Ale<br>wrote: <br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;"><br></blockquote><a href="https://www.techrepublic.com/article/linux-home-directory-management-is-about-to-undergo-major-change/">https://www.techrepublic.com/article/linux-home-directory-management-is-about-to-undergo-major-change/</a><br><br>It provides a good alternative to full-disk encrpytion, and makes <br>homedirectories fully portable from one system to another.<br>(Assuming nothing hardcodes absolute paths, heh..) Each user's<br>homedir becomes its own encrpyted filesystem, accessible only to<br>them, and not even the<br><br>local admins. Which is both good and bad; depends on the use case<br>and trust model.<br><br>(Worth mentioning that LUKS can have parallel admin/fallback keys,<br>so it's really up to how the admins set things up. The same caveats<br>apply<br><br> to systemd-homed too..)<br><br>So it's a good option to have for single-user systems or multi-user <br>systems that are accessed via a "local" login (ie on the console or<br>via<br><br>the likes of full remote sessions ala VNC). Which I suspect<br>encompasses <br>the overwhelming majority of "workstation/desktop" types of use<br>cases.<br><br>Consider the UI implications of using encrypted storage; the current <br>model presents an all-or-nothing approach, and requires a password<br>or other token (which can be the built-in TPM) to be physically<br>present at<br><br>boot. This new approach allows the base system to be [un]encrypted <br>independently of the user data, and also prevents any given user<br>from being able to decrpyt any other user's data.<br><br>Where systemd-homed falls down is on systems/accounts that are<br>accessed<br><br>primarily via ssh (and authenticated via ssh keys) -- ie most<br>server-ish <br>use cases. So it's not some universal pancea.<br><br> - Solomon<br>-- <br>Solomon Peachy pizza at shaftnet dot<br>org (email&xmpp)<br> @pizza:shaftnet dot org<br> (matrix)<br>High Springs, FL speachy (freenode) <br></blockquote><br></blockquote><hr>Ale mailing list<br>Ale@ale.org<br><a href="https://mail.ale.org/mailman/listinfo/ale">https://mail.ale.org/mailman/listinfo/ale</a><br>See JOBS, ANNOUNCE and SCHOOLS lists at<br><a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br></pre></blockquote></div><br>-- <br>"no government by experts in which the masses do not have the chance to inform the experts as to their needs can be anything but an oligarchy managed in the interests of the few.” - John Dewey</body></html>