Exploiting /etc/shadow

author: Nathan Acks
date: 2021-10-31

If /etc/shadow has weak permissions, then passwords in it can be replaced. To create a new password, use:

mkpasswd -m sha-512 $PASSWORD