infix
infix copied to clipboard
Configurable TTYs
Background
Customer requirements to disable all unused ports, or in some cases log in without password.
Proposal
Open up the TTY configuration to the user, allowing TTYs to be removed and for a shell to be directly executed, instead of passing through /bin/login. This would also allow us to support automatically setting up TTYs on USB-to-serial converters plugged in to our devices in the future.
Model sketch:
infix-system:system
ttys
tty <name>
bool secure
string username
Infix default:
"infix-system:system": {
"ttys": [
{ "device": "console" }
]
}
Disabled console:
"infix-system:system": {
"ttys": []
}
Log in without password:
"infix-system:system": {
"ttys": [
{
"device": "console",
"secure": false,
"username": "admin"
}
]
}
CCB: requested by many customer, not time critical atm. Scheduling for FUTURE.