Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cloudlinux:how-to-add-wp-cli-to-cagefs-users [2019-11-12 00:14:02]
steve.minter
cloudlinux:how-to-add-wp-cli-to-cagefs-users [2019-11-12 00:18:57]
steve.minter [How to add the wordpress command line tool wp-cli for CageFS users on CloudLinux]
Line 37: Line 37:
 </note> </note>
  
-==== Time to test ==== 
  
 +----
 +Testing:
  
 You can test this in a user shell by joining it with su. For this example we will assume you have a user on the system called 'example' and in our case the user was not given a system shell so we assign one with -s.  then test we are the user with 'whoami' and check for the file with 'stat': You can test this in a user shell by joining it with su. For this example we will assume you have a user on the system called 'example' and in our case the user was not given a system shell so we assign one with -s.  then test we are the user with 'whoami' and check for the file with 'stat':
Line 47: Line 48:
 stat /usr/local/bin/wp stat /usr/local/bin/wp
 </code> </code>
 +
 +
 +----
 +Last Tested  --- //2019-11-11 16:17:03//
 +
 +Test Environment:
 +  * cPanel  v84.0.7 [84.0 (build 7)]
 +  * Centos/CloudLinux 7.7