mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 20:14:27 +01:00
getty: failed attempt at doing it from a shell
This commit is contained in:
16
README.adoc
16
README.adoc
@@ -3935,6 +3935,22 @@ See also:
|
|||||||
* https://github.com/mirror/busybox/blob/1_28_3/examples/inittab#L60
|
* https://github.com/mirror/busybox/blob/1_28_3/examples/inittab#L60
|
||||||
* http://web.archive.org/web/20180117124612/http://nairobi-embedded.org/qemu_serial_port_system_console.html
|
* http://web.archive.org/web/20180117124612/http://nairobi-embedded.org/qemu_serial_port_system_console.html
|
||||||
|
|
||||||
|
===== Start a getty from outside of init
|
||||||
|
|
||||||
|
TODO: https://unix.stackexchange.com/questions/196704/getty-start-from-command-line
|
||||||
|
|
||||||
|
If I try the exact same command that the `inittab` is doing from a regular shell:
|
||||||
|
|
||||||
|
....
|
||||||
|
/sbin/getty 0 tty1
|
||||||
|
....
|
||||||
|
|
||||||
|
it fails with:
|
||||||
|
|
||||||
|
....
|
||||||
|
getty: setsid: Operation not permitted
|
||||||
|
....
|
||||||
|
|
||||||
===== console kernel boot parameter
|
===== console kernel boot parameter
|
||||||
|
|
||||||
Take the command described at <<tty>> and try adding the following:
|
Take the command described at <<tty>> and try adding the following:
|
||||||
|
|||||||
Reference in New Issue
Block a user