[LBo] Changing a user's passwd [was: Hello]

Anita Lewis a.lewis at linuxbasics.org
Mon Oct 16 02:29:16 CEST 2006


On 10/15/2006 07:47 PM tim wrote:

> I would still like to know how as root to change 
> my user password.  I tried passwd -u and it said password changed but it 
> obviously wasn't.  Any ideas? 

If you are logged in as root, do:

passwd <username>

Where <username> is the username.  Leave off the < > marks.  This will 
then ask you to type the new password twice.  That's it.

To see what 'passwd -u' does, do:

man passwd

Anita


More information about the QnA mailing list