To find out what privileges are stopping you from running a command, you should run it under ppriv -eD command. For example:
You can then use usermod -K ...
to assign the necessary privileges to a user. For example:
$ usermod -K defaultpriv=basic,sys_resource,cpc_cpu username