<p>Hi List,</p>
<p>We have a CentOS VPS running a web site in a DC far away. The chap that dev's this site told me he couldn't SFTP in yesterday, his password was being rejected (I went to his desk to confirm and saw it was telling him the password was incorrect but neither him nor me had changed it and we are the only two with access to this VPS). So I logged in as root and reset his password, be he still couldn't log in (same problem, claiming the password was wrong).</p>

<p>[root@server ~]# passwd webdevuser<br>
Changing password for user webdevuser.<br>
New UNIX password:<br>
Retype new UNIX password:<br>
passwd: all authentication tokens updates successfully.</p>
<p>I tried to SSH in as the web dev user and it wouldn't let me in. Returning back to my root console window;</p>
<p>[root@server ~]# su - webdevuser<br>
[webdevuser@server ~]# passwd<br>
Changing password for user webdevuser.<br>
Changing password for webdevuser.<br>
(current) UNIX password:<br>
passwd: Authentication token manipulation error</p>
<p>Firstly; I am stracthing my head as to why his password was no longer working in the first place? </p>
<p>Secondly; Why I can't reset it?</p>
<p>Googling around many people suggest there is a discrepancy between the /etc/passwd and /etc/shadow files and by deleting /etc/shadow and using pwconv to recreate shadow and the same for /etc/groups, deleting gshadow recreating it with grpconv will solve the problem but I still can't login as the web dev user.</p>

<p>Any ideas anyone?</p>
<p>-- <br>
James.</p>
<p><a href="http://www.jamesbensley.co.cc/">http://www.jamesbensley.co.cc/</a><br>
There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...?<br>
</p>