Commit Graph

6 Commits

Author SHA1 Message Date
Tianling Shen f45bb2981d
ttyd: force enable authentication for login
Currently, we called `/usr/libexec/login.sh` as login command, but unfortunately the auth
is disabled by default in it[1], and this is really serious as it could be a free "backdoor"
for any spoiler who has conntectd to the router via LAN or wireless.

In my option, it shouldn't be exposed to anyone without auth, so I set the default login
command to `/bin/login`. And for those who really want that, they can do it themselves.

1. `login.sh` adjusts whether use authentication or not from system config named ttylogin,
which is set to disabled by default. See package/base-files/files/bin/config_generate#L243.

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-08 02:03:37 +08:00
Florian Eckert b567333db6 ttyd: fix debug config option
Append missing debug option value.
If this is not append and the debug option is selected, then we get the
following error output on ttyd start.

> ttyd: missing start command

To fix this add missing debug option value.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-08-03 15:47:32 +02:00
Richard Yu 7331df7bac
ttyd: add reload trigger
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-12-03 09:17:12 +08:00
Richard Yu 9e325b47cb
ttyd: update to 1.5.2 and add init script
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-10-17 17:50:48 +08:00
Shuanglei Tao fbdcdd8a4a ttyd: remove the default insecure init script (#3271)
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2016-10-01 18:41:22 +08:00
Shuanglei Tao c2eb132d5d Add ttyd package
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2016-09-28 07:20:18 +08:00