infra:services:hacker-id
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
infra:services:hacker-id [2025/07/13 23:31] – 404d | infra:services:hacker-id [2025/07/14 19:11] (current) – 404d | ||
---|---|---|---|
Line 22: | Line 22: | ||
===== ACL structure ===== | ===== ACL structure ===== | ||
During the draft phase, the following groups have been configured: | During the draft phase, the following groups have been configured: | ||
- | * hackeriet-members, owned by hackeriet-styret | + | |
- | | + | ^ Name ^ Entry manager ^ Description ^ |
- | | + | | '' |
- | | + | | '' |
- | | + | | '' |
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | IDP admins may always step in to assist, shall any of the groups be orphaned (no active/ | ||
+ | |||
+ | |||
+ | |||
+ | ===== Using Hacker-ID for SSH/Linux login ===== | ||
+ | Kanidm | ||
+ | |||
+ | There' | ||
+ | |||
+ | - [[https:// | ||
+ | - [[https:// | ||
+ | - Edit config file ''/ | ||
+ | - Edit config file ''/ | ||
+ | - Optional: Add group mappings, like sudo or docker rights: < | ||
+ | [[kanidm.map_group]] | ||
+ | local = " | ||
+ | with = " | ||
+ | |||
+ | [[kanidm.map_group]] | ||
+ | local = " | ||
+ | with = " | ||
+ | </ | ||
+ | - [[https:// | ||
+ | - [[https:// | ||
+ | - Debian/ | ||
+ | - [[https:// | ||
+ | - Note: SELinux profiles are NOT included | ||
+ | - [[https:// | ||
+ | - [[https:// | ||
+ | |||
+ | Restart '' | ||
+ | < | ||
+ | # kanidm-unix status | ||
+ | system: online | ||
+ | Kanidm: online | ||
+ | |||
+ | # kanidm-unix auth-test --name d404d | ||
+ | Enter Unix password: [hidden] | ||
+ | auth success! | ||
+ | account success! | ||
+ | </ | ||
+ | Finally, attempt login over SSH towards your Hacker-ID username | ||
+ | |||
+ | ===== Good to know ===== | ||
+ | |||
+ | * Some information is publicly accessible, as required by unix/posix integrations: | ||
+ | * Anonymous access will be removed once this draft is finalized: https:// | ||
+ | * Users are allowed | ||
+ | * THIS INCLUDES THE USERNAME AND EMAIL | ||
Line 42: | Line 96: | ||
* Kanidm includes built-in backup solution and replication | * Kanidm includes built-in backup solution and replication | ||
* No mirroring of the backups has been configured yet | * No mirroring of the backups has been configured yet | ||
+ | * Set up kanidm-unixd for idp1.hackeriet.no | ||
+ | * Installed daemon | ||
+ | * Added to SSH config | ||
+ | * Added to nsswitch | ||
+ | * For Debian flavours incl. Ubuntu and Raspbian, installing '' | ||
+ | * AppArmor default profiles blocks access to the service socket used, need to amend the profile with the correct paths then reload & restart |
/srv/hackeriet-wiki/dokuwiki/data/attic/infra/services/hacker-id.1752449480.txt.gz · Last modified: by 404d