Can’t write to /etc/shadow with "echo" but with "nano" i can [migrated]
My goal is to write in /etc/passwd to escalate privileges to root.
i generated password "test1" for the new root user : openssl passwd test1
and i use echo to append a new entry in /etc/passwd file : sudo echo "root2:rmeF3kd… Continue reading Can’t write to /etc/shadow with "echo" but with "nano" i can [migrated]