This list will be updated frequently with usefull linux commands. Here we go with the first one.
1. Change password of Root Account via SSH in Centos
-bash-3.2# su – root – you don’t need to do this if you already login ssh as root
Or you can simply launch they Putty and get into the terminal mode and type as follow
[root @ hostmayo.com ~]# passwd root
passwd root means change password for account name root
Changing password for user root.
New password: (You should type your new password here)
Retype new password: (You should retype your new password again)
passwd: all authentication tokens updated successfully.