mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-09 22:04:35 +01:00
cross-ng: Disable "exec" as well as "exit" for init shell
This commit is contained in:
parent
ac82b964d8
commit
83b0abd7cf
@ -14,7 +14,7 @@
|
||||
so exiting from it will cause kernel panic. Prevent exiting from the
|
||||
shell accidentally:</para>
|
||||
|
||||
<screen role="nodump"><userinput>enable -n exit
|
||||
<screen role="nodump"><userinput>enable -n exit exec
|
||||
readonly IGNOREEOF=1000</userinput></screen>
|
||||
|
||||
<para>The standard I/O streams of the initial shell process is connected
|
||||
|
Loading…
Reference in New Issue
Block a user