From: "Алексей В. Мезин" <alexei.mezin@gmail.com> To: community@lists.altlinux.org Subject: [Comm] TOTP 2FA - кто-то использует? Date: Tue, 4 Jun 2024 13:20:17 +0300 Message-ID: <v3mpp1$16kf$2@ciao.gmane.io> (raw) Был у меня сервер чуть ли не с p8, который в итоге дообновлялся, кажется, до p10. И когда-то давно я запустил на нем двухфакторную аутентификацию на одноразовых паролях на основе текущего времени из google-autheticator. С настройками проблем не возникло, главное было вписать в /etc/pam.d/sshd строку auth required pam_google_autheticator.so и при логине по ssh начинало спрашивать не только пароль, но и "verification code". Однако, что-то в этой механике сломалось, и в p11 больше не работает (в centos 9 тоже не работает). "Управление" в нужный момент передается pam_google_authenticator, но на экране запроса на ввод кода не появляется, а в логах ругань, что этот модуль трижды не получил нужного кода. Поэтому вопрос: это я не умею этот pam+ssh готовить, и как-то можно настроить гугловскую библиотеку? Еще вопрос: кто-то использует какие-то альтернативы? И нет ли у нас какой-то стандартной ручки для настройки? Потому что описание oath - какое-то лютое ручное прилепливание пятой ноги к собаке. Хотя, казалось бы, тема очень важная, и должно быть все системно и дистрибутивно.
next reply other threads:[~2024-06-04 10:20 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-06-04 10:20 Алексей В. Мезин [this message] 2024-06-04 22:14 ` Alexei V. Mezin 2024-06-10 22:03 ` [Comm] Непонятное что-то с ssh клиентом Alexei V. Mezin 2024-06-11 20:16 ` Alexei V. Mezin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='v3mpp1$16kf$2@ciao.gmane.io' \ --to=alexei.mezin@gmail.com \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git