Disabling emergency and init mode

Hello all friends

I recently disable runlevel 1

i want to know , is there any way to disable emergency mode and init mode

init mode means if any user pass kernel parameter at grub i.e init=/bin/bash
then bash shell appears

I want to disable it for security purpose

System = Debian 6

Any help
Thanks

If that is meant to deter someone with physical access to the machine, it is an absolutely worthless measure. Such an attacker could easily boot the machine from a usb, cd, or floppy drive. An effective defense would be to use full disk encryption.

Regards,
Alister

Yes, not really possible with mainstream x86 hardware.
But I remember the good old Sun boxes, where a non-default boot was password-protected, and a lock prevented opening of the box ...

1 Like

Good point. I assumed x86/amd64.

Regards,
Alister

Ok so there is no way to do this

Thanks