An open API service indexing awesome lists of open source software.

https://github.com/oditynet/2fact-telegram

2fact telegram. авторизация pam с получением кода по telegram каналу
https://github.com/oditynet/2fact-telegram

2fact pam telegram

Last synced: 3 months ago
JSON representation

2fact telegram. авторизация pam с получением кода по telegram каналу

Awesome Lists containing this project

README

          

GitHub code size in bytes
GitHub license
GitHub Repo stars

# 2FA with Telegram in a consoles and DE, SSH and etc

This is a PAM module for 2fa authorizate of Telegram channel
Enter User\password and code at your Telegram bot.

curl -s -X POST https://api.telegram.org/bot/getUpdates - get info about id

# Build:

```
make
cp 2fact.so /usr/lib/security
```

# Config

Pam.d config:
Add "auth requisite 2fact.so" in a /etc/pam.d/system-auth

Example:
==========================