Hi, I noticed there are a lot of SMF manifests (e.g. auditd.xml, cron.xml, dbus.xml, hal.xml), which include the following method_context for exec_method:
<method_context> <method_credential user='root' group='root' /> </method_context> Is it really needed? Since the service is started by svc.startd(1M), the method_context will be set to such (e.g. user='root') by default. I tried a user Bob with Sevice Management Rights Profile to start a service without abovementioned method_context, and the process associated with the service is still running as root. Or are there such cases that svc.startd is not running as root? Or is it used to set some special environments? thanks, Riny