> Wow, this is flying so high ove rmy head :-) Huh, didn't you ask the question of what's wrong? You have a syntax error. Fix your syntax error.
> >>>What did I miss here? I am trying to grant myself permission to > >>>start/stop my spsms service... > >>> > >>> > >>># grep echiquet /etc/user_attr > >>>echiquet:::auths=solaris.smf.manage.spsms > >>> > >>> > > You might want to either use user_mod, or actually get the syntax > > correct. > > > > > echiquet is not a local user... So usermod will complain. OK, then use SMC. > > user:qualifier:res1:res2:attr > > > I have no profile defined whatsoever, as I am still trying to understand > the whole thing. You greped user_attr(4). It showed auths not profs and a syntax error. user:qualifier:res1:res2:attr is the correct syntax maybe try echiquet::::auths=solaris.smf.manage.spsms > So that's the closest I could get from the example I saw at: > http://www.sun.com/bigadmin/xperts/sessions/19_smf/questions2.html#11 And Liane's example there doesn't contain a syntax error > > >>># svcprop -p general/action_authorization spsms > >>> > >>> > > > > Is this the general/framework/action_authorization for the service? > > I suspect it's that you really don't have the auth you think. > > What does auths(1) say? > > > > > > > -bash-3.00$ auths > solaris.device.cdrw,solaris.profmgr.read,solaris.jobs.users,solaris.mail.mailq,solaris.admin.usermgr.read,solaris.admin.logsvc.read,solaris.admin.fsmgr.read,solaris.admin.serialmgr.read,solaris.admin.diskmgr.read,solaris.admin.procmgr.user,solaris.compsys.read,solaris.admin.printer.read,solaris.admin.prodreg.read,solaris.admin.dcmgr.read,solaris.snmp.read,solaris.project.read,solaris.admin.patchmgr.read,solaris.network.hosts.read,solaris.admin.volmgr.read > -bash-3.00$ > > Right, my smf service is not there. I obviously did not setup the stuff > right :-( > > Am I the only one trying to have a service that can be run as non root? > I thought I could just piggy back on an example, but I can't find > anything... Fix your syntax errors and I believe things will work. N.B. Vi is not your friend unless you are not prone to syntax errors. Make the user local and run user_mod. Or use SMC. Gary..