This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26320
Commits
1
Branch
46 MiB
Tree:
daaba8f3ff
lilik-openwrt-22.03
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from 'daaba8f3ff'
${ noResults }
openwrt-packages-dist
/
utils
/
ttyd
/
files
/
ttyd.config
5 lines
68 B
Raw
Normal View
History
ttyd: update to 1.5.2 and add init script Signed-off-by: Richard Yu <yurichard3839@gmail.com>
5 years ago
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>
4 years ago
ttyd: update to 1.5.2 and add init script Signed-off-by: Richard Yu <yurichard3839@gmail.com>
5 years ago
config ttyd
option interface '@lan'
option command '/bin/login'