167

I have a lot of different services which I self host for me and my family like:

  • PeerTube
  • Lemmy
  • Mastodon
  • Synology NAS
  • TTRSS
  • NextCloud
  • Matrix
  • HomeAssistant
  • etc.

Right now every family member needs to create a user on each of those services and have a different password on them, which is OK when you use a Password Manager, but most of my extended family members don't. And they often forget their password and stop using the service because they can't figure out how to reset the password with each and every service.

I would like to try to consolidate all of it with a Single Sign-On (SSO) solution but It's not obvious to me if there is one which is not overly over engineered for hundreds of thousands of users but small and lightweight, perhaps even easy to set up.

I tried OpenLDAP but Jesus that was very involved.

you are viewing a single comment's thread
view the rest of the comments
[-] Deebster@lemmyrs.org 1 points 11 months ago

What's your DR plan? My "plan" is to SSH in and figure out what's wrong.

[-] nickwitha_k@lemmy.sdf.org 2 points 11 months ago

I'm still trying to cover up with a good one to allow more self-hosting. Probably a SHTF security key kept in a safe that can be used with physical access.

My "plan" is to SSH in and figure out what's wrong.

The problem here being that you have a circular dependency:

  1. SSH auth requires OpenLDAP/Keycloak
  2. SSH access is required to fix broken OpenLDAP/Keycloak
  3. GOTO 1
[-] Deebster@lemmyrs.org 2 points 11 months ago

My SSH auth uses SSH keys stored in authorized_keys, but I see your point. For me, OpenLDAP will be letting users in to the various services and SSH is outside that. I suppose SFTP could be something I want, but I'd be tempted to put a new sshd inside a container and have it more restricted than the system one.

I think the backup key idea is definitely the most broadly applicable, but there's physical/KVM for a more old school access route.

[-] nickwitha_k@lemmy.sdf.org 2 points 11 months ago

That makes sense. I like the idea of combining physical key with physical/KVM access so that there is no password auth (at least, not without a second factor).

this post was submitted on 21 Jul 2023
167 points (99.4% liked)

Selfhosted

37743 readers
713 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS