If you're logged in as root and do a su - <username> you shouldn't have to enter a password. As root it should just go.<br><br>Are you sudo'ing it as a regular user? It almost sounds like you're not really root when you're doing the su - <username> so it's possible that you're not root when you passwd <username> to change the password.
<br><br>That'd be the only idea off the top of my head. Are there any more details? Is "incorrect password" the complete error? Does the old password still work?<br><br>If you can't get into the account at all you might try checking the shadow file in /etc/ to make sure the user exists.
<br><br>-Gamble<br><br><div><span class="gmail_quote">On 7/6/06, <b class="gmail_sendername">Tony Bibbs</b> <<a href="mailto:tony@tonybibbs.com">tony@tonybibbs.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
sorry, I that is what I was doing "su - someuser"<br><br>Jon Clemons wrote:<br>> Does it do the same thing if you su - username<br>><br>> ----- Original Message ----- From: "Tony Bibbs" <<a href="mailto:tony@tonybibbs.com">
tony@tonybibbs.com</a>><br>> To: <<a href="mailto:cialug@cialug.org">cialug@cialug.org</a>><br>> Sent: Thursday, July 06, 2006 12:18 PM<br>> Subject: [Cialug] Wierd account stuff<br>><br>><br>>> I've got an account on a FC4 box and if I, as root, change the
<br>>> password for a specific user and then try to su over I get "incorrect<br>>> password" errors. I've done this a few times and I keep getting the<br>>> same response. Any ideas on what might be going on or what to check
<br>>> next?<br>>><br>>> --Tony<br>>> _______________________________________________<br>>> Cialug mailing list<br>>> <a href="mailto:Cialug@cialug.org">Cialug@cialug.org</a><br>>>
<a href="http://cialug.org/mailman/listinfo/cialug">http://cialug.org/mailman/listinfo/cialug</a><br>>><br>><br>> _______________________________________________<br>> Cialug mailing list<br>> <a href="mailto:Cialug@cialug.org">
Cialug@cialug.org</a><br>> <a href="http://cialug.org/mailman/listinfo/cialug">http://cialug.org/mailman/listinfo/cialug</a><br>_______________________________________________<br>Cialug mailing list<br><a href="mailto:Cialug@cialug.org">
Cialug@cialug.org</a><br><a href="http://cialug.org/mailman/listinfo/cialug">http://cialug.org/mailman/listinfo/cialug</a><br></blockquote></div><br>