Create a user with root rights in etc passwd

From Luniwiki
Jump to: navigation, search
echo "root2:`openssl passwd hello`:0:0:root:/root:/bin/bash" >> /etc/passwd

References

Daniel Simao 15:13, 3 January 2020 (EST)