{"id":935,"date":"2013-07-27T20:48:02","date_gmt":"2013-07-27T20:48:02","guid":{"rendered":"http:\/\/www.omniweb.com\/wordpress\/?p=935"},"modified":"2013-07-27T20:49:37","modified_gmt":"2013-07-27T20:49:37","slug":"centos-as-root-command-not-found","status":"publish","type":"post","link":"https:\/\/www.omniweb.com\/wordpress\/?p=935","title":{"rendered":"CentOS as root &#8220;command not found&#8221;"},"content":{"rendered":"<p>If you SSH to CentOS as a regular user and then &#8220;su&#8221; to root, there are many commands that will tell you &#8220;command not found&#8221;<br \/>\nFor example,<br \/>\n# chkconfig vsftpd on<br \/>\nbash: chkconfig: command not found<\/p>\n<p>To resolve this, enter the root&#8217;s shell by entering<br \/>\nsu &#8211;<br \/>\nThen those important commands no longer return &#8220;command not found&#8221;<br \/>\nSimple, no?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you SSH to CentOS as a regular user and then &#8220;su&#8221; to root, there are many commands that will tell you &#8220;command not found&#8221; For example, # chkconfig vsftpd on bash: chkconfig: command not found To resolve this, enter &hellip; <a href=\"https:\/\/www.omniweb.com\/wordpress\/?p=935\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/935"}],"collection":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=935"}],"version-history":[{"count":2,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/935\/revisions"}],"predecessor-version":[{"id":938,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/935\/revisions\/938"}],"wp:attachment":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}