All my user accounts have cagefs enabled. Will using a common network interface or unix socket configuration in memcached provide sufficient isolation of cache data across user accounts?
I have done this so far:
1) Install memcache service:
yum install memcached
2) Configured memcached to listen on port 11211 on localhost:
nano /etc/sysconfig/memcached
OPTIONS="-l 127.0.0.1 -U 0"
3) Enabled memcached php extension for the user in PHP Selector.
4) Started the memcache service:
systemctl enable memcached
5) Checked it's running:
systemctl status memcached
5) Checked the port is blocked on the firewall.
Would be great to hear from anyone who has this working securely in a shared CL7 environment with caged accounts.
Many thanks!
I have done this so far:
1) Install memcache service:
yum install memcached
2) Configured memcached to listen on port 11211 on localhost:
nano /etc/sysconfig/memcached
OPTIONS="-l 127.0.0.1 -U 0"
3) Enabled memcached php extension for the user in PHP Selector.
4) Started the memcache service:
systemctl enable memcached
5) Checked it's running:
systemctl status memcached
5) Checked the port is blocked on the firewall.
Would be great to hear from anyone who has this working securely in a shared CL7 environment with caged accounts.
Many thanks!
Comment