Discussion on:

12
Comments

Join the conversation!

Follow via:
RSS
Email Alert
I don't think a reboot can help you out there, LOL?
0 Votes
+ -
panic on oops
iandrei 22nd Jan 2008
sysctl -w kernel.panic_on_oops=1

this will call panic when there is an oops
so...auto-reboot happy
0 Votes
+ -
Thanks. It's much appreciated.
0 Votes
+ -
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.
0 Votes
+ -
password.....
FXEF 22nd Jan 2008
For this to reboot an un-attended system, what about entering password?
Can the need for password on auto-reboot be circumvented in a secure way?
0 Votes
+ -
Password where?
vdanen 26th Jan 2008
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.
0 Votes
+ -
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) wink
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.