You can edit /etc/sysctl.d/10-magic-sysrq.conf or /etc/sysctl.conf or add an extra file to /etc/sysctl.d/. It all works.
My /etc/sysctl.d/10-magic-sysrq.conf tells how it works:
Code:
# Here is the list of possible values:
# 0 - disable sysrq completely
# 1 - enable all functions of sysrq
# >1 - enable certain functions by adding up the following values:
# 2 - enable control of console logging level
# 4 - enable control of keyboard (SAK, unraw)
# 8 - enable debugging dumps of processes etc.
# 16 - enable sync command
# 32 - enable remount read-only
# 64 - enable signalling of processes (term, kill, oom-kill)
# 128 - allow reboot/poweroff
# 256 - allow nicing of all RT tasks
#
So, the default of 176 = 128+32+16 allows rebooting.
If set to 176 and you still can't reboot, it may be that you have to hold fn too or your SysRq key is somewhere else. It isn't always the same as the PrintScreen key. On my HP laptop, it's the delete key, so I have to hit fn+alt+delete+{REISUB}.
Bookmarks