How to change password

Use "passwd" command :

# passwd jdoe

TO change superuser password, you have to make sure to be correctly logged with appropriate environment variables. To do so, use "-l" flag:

# su -l
# passwd root