This shows you the differences between two versions of the page.
|Both sides previous revision Previous revision||Last revision Both sides next revision|
cloudlinux:how-to-add-wp-cli-to-cagefs-users [2019-11-11 16:18:10]
cloudlinux:how-to-add-wp-cli-to-cagefs-users [2019-11-11 16:18:36]
|Line 37:||Line 37:|
|-||==== 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':|
|-||su -s /bin/bash example|