19 September 2012

Changing root password in CentOS

If you want to change the default root password in CentOS, it’s one simple command: (assuming you’re logged in as root)


passwd

You’ll have to enter your new password twice:


Changing password for user root.
New UNIX password: 
Retype new UNIX password:

If they match, you’ll get the message:


passwd: all authentication tokens updated successfully.

All done!

If you need help generating a random and secure password, try passwordsite.co.uk





via Simon Coopey » Development http://simoncoopey.com/2012/changing-root-password-in-centos/#utm_source=feed&utm_medium=feed&utm_campaign=feed

No comments:

Post a Comment