I'm developing a system for quick provisioning of zones (actually containers) via a web interface in PHP. I need to execute the zonecfg and zoneadm commands from PHP. The web server is running as the webservd user. How can I do this? Do I just need to add the "Primary Administrator" role to the webservd user in /etc/user_attr? I realise this is not a good idea from a security point of view but I'm just trying to get it working at this stage - it is an honours project at uni.
Thanks Andrew. -- This message posted from opensolaris.org