4 ms·
What would have happened if he just did a "mv /etc/passwd /etc/xyz" instead? What happens when the system does not have an /etc/passwd? (I'm too lazy to boot up
by discardorama 11y ago
What would have happened if he just did a "mv /etc/passwd /etc/xyz" instead? What happens when the system does not have an /etc/passwd? (I'm too lazy to boot up a VM and check it out). Could he just login as root then, without password?
- mahouse 11y agoAs far as I know, if there is no /etc/passwd, there is no root account at all, so you can't log in.