For Linux machines
get the hash of root.
1
cat /etc/shadow
use highlighted part as passpharse.
$6$XzluqBeUpIVqOvGi$1ngfZ.wa2hueUAkXFZjRZIyNxuQBboMC5319WC1lQcZORfGF6aKiG1mmnHaNnhFDTLeUknAre9ofC1KD/KvaU0
:18430:0:99999:7:::
For Challnges
use the flag as passpharse. HTB{xxxxxxxxx}