I am writing an installer script for opensolaris. It changes preferred
authority, enable/disable pkg service on my localhost, pushes the application
package to my depot server and eventually install the package from depot
server.
However i first need to check if user running my script has sufficient
privileges to perform these tasks. Is runnning "ppriv $$" in my script and then
checking for 'all' in E field a reliable check?
--
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org