linux:telegram
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
linux:telegram [2015/07/01 23:47] – [Step 6: create a daemon and install it] rlunaro | linux:telegram [2015/07/02 00:06] – rlunaro | ||
---|---|---|---|
Line 108: | Line 108: | ||
- | ===== Step 6: create a daemon and install it ===== | + | ===== Step 6: create the system user telegramd ===== |
+ | |||
+ | In order to run the telegram-daemon as root, you will need to create the user telegramd. I've opted | ||
+ | to create this user as a system user: | ||
+ | |||
+ | < | ||
+ | # useradd -M --user-group --system --shell=/ | ||
+ | </ | ||
+ | |||
+ | |||
+ | **And give permissions into / | ||
+ | |||
+ | < | ||
+ | chown telegramd: | ||
+ | </ | ||
+ | |||
+ | Impersonate this user and run the telegram-cli program again, to create a proper configuration file: | ||
+ | |||
+ | < | ||
+ | telegramd@: | ||
+ | Telegram-cli version 1.0.5, Copyright (C) 2013-2014 Vitaly Valtman | ||
+ | Telegram-cli comes with ABSOLUTELY NO WARRANTY; for details type `show_license' | ||
+ | This is free software, and you are welcome to redistribute it | ||
+ | under certain conditions; type `show_license' | ||
+ | Telephone number (with ' | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Step 7: create a daemon and install it ===== | ||
Telegram-cli has a bug that provokes that, unless '' | Telegram-cli has a bug that provokes that, unless '' | ||
Line 191: | Line 219: | ||
</ | </ | ||
- | ===== Step 7: create the system user telegramd ===== | ||
- | |||
- | In order to run the telegram-daemon as root, you will need to create the user telegramd. I've opted | ||
- | to create this user as a system user: | ||
- | |||
- | < | ||
- | # useradd -M --user-group --system --shell=/ | ||
- | </ | ||
- | |||
- | |||
- | **And give permissions into / | ||
- | |||
- | < | ||
- | chown telegramd: | ||
- | </ | ||
===== Step 8: install the telegram-msg program ===== | ===== Step 8: install the telegram-msg program ===== |
linux/telegram.txt · Last modified: 2022/12/02 22:02 by 127.0.0.1