admin管理员组文章数量:1317572
I am on an Ubuntu 18.04 local dev environment, running a WP Multisite 5.5.3
Three Part Question:
1.) What (who) is the WP-Cli user? And,
2.) How do I give that user permission to "my_user's" home directory?
3.) Should I be worried from a security standpoint about giving the WP-Cli home directory access?
Thanks
I am on an Ubuntu 18.04 local dev environment, running a WP Multisite 5.5.3
Three Part Question:
1.) What (who) is the WP-Cli user? And,
2.) How do I give that user permission to "my_user's" home directory?
3.) Should I be worried from a security standpoint about giving the WP-Cli home directory access?
Thanks
Share Improve this question asked Nov 1, 2020 at 2:03 mjonesmjones 1531 silver badge11 bronze badges1 Answer
Reset to default 0Yes, I will accept the "newbie" embarrassment and answer my basic questions . ;-)
1.) www-data
2.) For fellow wp-cli newbies, follow this excellent tutorial to get wp-cli working in local dev, and remember NOT to forget the last step. :-)
3.) One should never put the html directory in /home/ for the reason malicious actors could use www-data/php to go beyond the html directory to explore the contents of the user's home directory. However, www-data to having access to .wp-cli located in the home directory, still not clear of the security risk level, seems debatable.
本文标签: wp cliGive WPCli User Home Directory Privileges
版权声明:本文标题:wp cli - Give WP-Cli User Home Directory Privileges 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742021416a2414746.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论