Hi Darren, I checked some spec files from Desktop consolidation. I found that SUNWdbus add an authentication itself when installing package.
mkdir -p $RPM_BUILD_ROOT/etc/security echo 'solaris.smf.manage.dbus:::Manage D-BUS Service States::help=SmfDBUSStates.html' > $RPM_BUILD_ROOT/etc/security/auth_attr echo 'D-BUS Management:::Manage D-BUS:auths=solaris.smf.manage.dbus;help=RtDBUSMngmnt.html' > $RPM_BUILD_ROOT/etc/security/prof_attr Can I do same thing? Regards, Jedy On Wed, 2009-10-28 at 12:18 +0000, Darren J Moffat wrote: > Jedy Wang wrote: > > On Wed, 2009-10-28 at 12:06 +0000, Darren J Moffat wrote: > >> Then I guess you have no choice but to call bootadm(1M). My > >> preference > >> would be after having ConsoleKit check that the user has > >> solaris.system.bootadm. > > > > Yes, I can add code to ConsoleKit to check "solaris.system.bootadm". But > > how can I integrate this authentication into the system? > > It goes into ONNV same as the solaris.system.shutdown etc authorisations. >