I did init=/bin/bash, ctrl-x, mount of root, but when I try to run chroot or passwd it simply doesn't find any command. I see many tutorials, but they assume I have passwd and chroot. But I have ...
On all the Linux systems I've managed, the root account has a GID and UID of 0. Is this guaranteed, or is it possible that the system will give root a different ID?
I accidentally modified the line for root in /etc/passwd and changed its named. To fix it I tried using sudo to modify this file, but it does not let me sudo because sudo can't find the root user ...
I am working on an exploit for a security course. The object is to obtain a root shell in a linux virtual machine. So far, I can write to /etc/passwd and change root's password to an arbitrary string. ...