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 каналу
- Host: GitHub
- URL: https://github.com/oditynet/2fact-telegram
- Owner: oditynet
- License: gpl-2.0
- Created: 2022-07-15T11:52:32.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-10T08:42:39.000Z (over 1 year ago)
- Last Synced: 2025-03-10T09:40:36.898Z (over 1 year ago)
- Topics: 2fact, pam, telegram
- Language: C
- Homepage:
- Size: 130 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# 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:
==========================
