Changing root password?

Dan Ritter dsr-mzpnVDyJpH4k7aNtvndDlA at public.gmane.org
Sat Jul 25 18:52:17 EDT 2009


On Sat, Jul 25, 2009 at 06:46:53PM -0400, Scott Ehrlich wrote:
> I've googled and cannot find a good answer (it's probably out there,
> just haven't found it yet...)
> 
> In the Windows world, at least as admin, you can invoke a command
> prompt, type: net user account_of_choice password_of_choice, and the
> password of account_of_choice is changed to password_of_choice, clear
> text, yes, but Windows doesn't force a verification of the password.
> 
> What is the equivalent method for an up-to-date Linux distro Centos?  Ubuntu?


As root, your choice is:

passwd user
(which will ask for verification, etc)

or many options are available from usermod; man it.

-dsr-

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.

You can't defend freedom by getting rid of it.





More information about the Discuss mailing list