If you SSH to CentOS as a regular user and then “su” to root, there are many commands that will tell you “command not found”
For example,
# chkconfig vsftpd on
bash: chkconfig: command not found
To resolve this, enter the root’s shell by entering
su –
Then those important commands no longer return “command not found”
Simple, no?