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 Both sides next revision
cloudlinux:how-to-add-wp-cli-to-cagefs-users [2019-11-12 00:12:07]
steve.minter [How to add the wordpress command line tool wp-cli for CageFS users on CloudLinux]
cloudlinux:how-to-add-wp-cli-to-cagefs-users [2019-11-12 00:13:25]
steve.minter
Line 36: Line 36:
 "Copying /usr/local/bin/wp to /usr/share/cagefs-skeleton/usr/local/bin/wp" "Copying /usr/local/bin/wp to /usr/share/cagefs-skeleton/usr/local/bin/wp"
 </note> </note>
 +
 +===== Time to test =====
 +
  
 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':