Disabling Ctrl+G in an embedded system, however custom shell starts :user_drv

Howdy all,

When logging in through serial, Ctrl+G is still active allowing access to the erlang user switch command menu, which can be used to the jobs on the system.

Settings tried in vm.args.eex include:
-noshell, +Bi & +Bc

Using these settings the user switch command menu is blocked, however after launching a custom elixir login shell that is used to sign into the fully running elixir app, Ctrl+G because active again. The custom login shell is started from rootfs .iex.exs file. Have tried killing of the :user_drv in the custom shell, but this leads to no serial input allowed to be read in.

Oh this is fun…

I have no idea. Curious if others will have some experience on this stuff. There should be some people around who’ve poked this..

When you have started an interactive shell there is currently no way to switch it off again. The shell subsystem within Erlang is not really built to shutdown so updating user_drv to allow it could be hard.

Okay, at least it is only over serial with a physical connection, that it’s assessable. Thanks for clearing it up for me