
To change your password in Linux OS, type:
passwd
The root user can change the password of any user by running passwd command with user name as argument:
passwd nick
will change nicks password. Running passwd without arguments as superuser/root, changes the root password.