CentOS as root “command not found”

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?

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *