2022-03-25 10:39:44 -07:00
|
|
|
= Two factor authentication
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2022-03-25 10:39:44 -07:00
|
|
|
The Fedora account system frontend (noggin) allows for users to enroll otp token(s).
|
|
|
|
See https://noggin-aaa.readthedocs.io/en/latest/userguide.html#two-factor-authentication
|
|
|
|
for end user documentation.
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2022-03-25 10:39:44 -07:00
|
|
|
Otp tokens are then stored and managed in IPA backend.
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2022-03-25 10:39:44 -07:00
|
|
|
Users who enroll a otp are then required to append it to their password
|
|
|
|
or add it in a seperate field (if available) whenever they use their
|
|
|
|
Fedora account system login.
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2022-03-25 10:39:44 -07:00
|
|
|
Users who enroll a otp are also prohibited from removing the last otp
|
|
|
|
they have enabled on their account. This is to prevent someone from removing
|
|
|
|
the last otp to allow password only access to resources like sudo.
|
|
|
|
See https://github.com/fedora-infra/noggin/issues/579 for discussion.
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2022-03-25 10:39:44 -07:00
|
|
|
For this reason it's advised to enroll multipule otp tokens,
|
|
|
|
and/or to backup these tokens in case of device breakage/failure/loss.
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2022-04-04 20:42:57 +02:00
|
|
|
== Administration
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2022-03-25 10:39:44 -07:00
|
|
|
Sometimes users will loose or otherwise no longer have access to their
|
|
|
|
last otp and will need it to be cleared to allow them to login again
|
|
|
|
and set a new one. These requests are sent into admin@fedoraproject.org.
|
|
|
|
(Be sure to 'reply all' when processing these so other sysadmin-main
|
|
|
|
members know they are processed)
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2022-03-25 10:39:44 -07:00
|
|
|
Admins need to verify the users identity before processing these requests.
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2022-03-25 10:39:44 -07:00
|
|
|
Including, but not limited to:
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2022-03-25 10:39:44 -07:00
|
|
|
* user sends gpg signed email with gpg key attached to their Fedora account
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2022-03-25 10:39:44 -07:00
|
|
|
* user can ssh to fedorapeople.org with the ssh private key associated with
|
|
|
|
a ssh public key associated with their Fedora account
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2022-03-25 10:39:44 -07:00
|
|
|
* rover verification (in case of Red Hat employee).
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2022-03-25 10:39:44 -07:00
|
|
|
* Video or in person meeting with admin who knows their identity on sight.
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2022-03-25 10:39:44 -07:00
|
|
|
Additionally, users only in ipausers group can have their token cleared
|
|
|
|
as they don't have access to much of anything (yet).
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2022-03-25 10:39:44 -07:00
|
|
|
To clear a token, admin should:
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2025-07-04 11:55:02 +02:00
|
|
|
* login to ipa01.rdu3.fedoraproject.org
|
2022-03-25 10:39:44 -07:00
|
|
|
* kinit admin@FEDORAPROJECT.ORG (enter the admin password)
|
|
|
|
* ipa otptoken-find --owner <username>
|
|
|
|
* ipa otptoken-del <token uuid from previous step>
|
2021-07-26 10:39:47 +02:00
|
|
|
|
2022-03-25 10:39:44 -07:00
|
|
|
Or alternately, admin can use the ipa web ui:
|
|
|
|
https://id.fedoraproject.org/ipa/ui/
|