how to change root passwd (if forgotten)
I ve forgotten my root passwd on centos 6,
I tried to change it as I used in debian (in debian it works perfectly) , that is:
use a cd live (or installation cd1), to access the hd,
I mount my root partition and mount proc and devices
I tried the command passwd, no error reprorted, but after reboot the passwd hadīt changed.
then I decided to remove passwd from /etc/shadow (delete the
OK, now I can access my machine without passwd, BUT I CANīT GIVE ANY PASSWORD!!!! I RECEIVE THIS ERROR
Changing password for user root.
Retype new password:
passwd: Authentication token manipulation error
any idea to fix the problem.
thanks a lot