If you are sitting at the machine the easiest mechanism is to modify the kernel command line at bootup to include init=/bin/sh. This will run the shell instead of the usual SysV init or upstart or systemd system boot up procedure, and the shell will give you access to anything you like, no questions asked.
This is why it is important to set a password on your grub configuration (info grub -s security). The bootdisk option you suggest is a reason why it is important to set a BIOS password on your machine. And removing the hard drive is a reason why it is best to put your machine in a heavy, locked, cabinet that can provide you with the level of security you wish.
发布评论
评论(1)
如果您坐在机器前,最简单的机制是在启动时修改内核命令行以包含
init=/bin/sh
。这将运行 shell 而不是通常的 SysVinit
或upstart
或systemd
系统启动过程,shell 会让你访问任何你喜欢的东西,没有任何问题。这就是为什么在 grub 配置上设置密码(
info grub -s security
)非常重要。您建议的引导盘选项是在您的计算机上设置 BIOS 密码很重要的一个原因。卸下硬盘驱动器是最好将机器放入重型、上锁的机柜中的原因,这样可以为您提供所需的安全级别。If you are sitting at the machine the easiest mechanism is to modify the kernel command line at bootup to include
init=/bin/sh
. This will run the shell instead of the usual SysVinit
orupstart
orsystemd
system boot up procedure, and the shell will give you access to anything you like, no questions asked.This is why it is important to set a password on your grub configuration (
info grub -s security
). The bootdisk option you suggest is a reason why it is important to set a BIOS password on your machine. And removing the hard drive is a reason why it is best to put your machine in a heavy, locked, cabinet that can provide you with the level of security you wish.