Discussion on:
View:
Show:
I don't think a reboot can help you out there, LOL?
sysctl -w kernel.panic_on_oops=1
this will call panic when there is an oops
so...auto-reboot
this will call panic when there is an oops
so...auto-reboot
I checked my system and it has no kernel.panic variable in /etc/sysctl.conf but if I run the command sysctl -a and list out the values, kernel.panic is set to 5. What does that mean? I would assume it to be reboot after 5 seconds but I know my system drops to kdb> prompt
Very useful. However, I can't get kernel.sysrq to work properly. I can sync files and I can shutdown but the "b" option, reboot. Doesn't work. My laptop sits there as though no keys were pressed.
Can the need for password on auto-reboot be circumvented in a secure way?
Password on what? The bootloader?
If you're running an unattended system and you have
password protected booting, you'd best be really sure on
how you implement that. Grub, and lilo too I think, can
prompt for a password if you want to change from the
defaults (i.e. change which entry to boot, which
commands are given to the kernel, etc.).
If you require a password to just plain old boot on
unattended system, you have more problems than just
auto-reboots. How much fun would it be for someone
who obtained elevated privileges on your system to issue
a reboot command, or a forgetful admin? You'd be stuck
at a boot prompt waiting for a password.
Talk about a successful DoS.
If you're running an unattended system and you have
password protected booting, you'd best be really sure on
how you implement that. Grub, and lilo too I think, can
prompt for a password if you want to change from the
defaults (i.e. change which entry to boot, which
commands are given to the kernel, etc.).
If you require a password to just plain old boot on
unattended system, you have more problems than just
auto-reboots. How much fun would it be for someone
who obtained elevated privileges on your system to issue
a reboot command, or a forgetful admin? You'd be stuck
at a boot prompt waiting for a password.
Talk about a successful DoS.
Nobody mentioned grub or lilo or bootloader; we were talking about the logon password. Is it bypassed by an auto-reboot and if so how?
so .. is there some way to enable this in the kernel config somewhere if my kernel locks up while booting after installing a new one (on a remote, rented server)
- Keyboard Shortcuts:
- Prev
- Next
- Toggle









































