I know there have been a lot of posts about this, but cannot seem to find an answer that has worked for me.
I wanted to change the password of my root user, but have failed in doing so.
logged in as root; root@ubuntu:/ passwd
passwd: Permission denied
passwd: password unchanged
root@ubuntu:/ sudo passwd root passwd: Permission denied;; passwd: password unchanged;;
this is a ubuntu 10.04 system and i dont know how can i solve this. I have tried changing the PAM files as well as login.defs file,but to no avail. can anyone help me?