Martin Englund wrote:
Hi!

I'm building a package where I need to add a role, but I can't find anything documented about it.

Is it implemented? And if not, is there an RFE filed which I can attach myself to?

cheers,
/Martin

Deliver the same contents of the file fragment as you would w/
svr4 packaging, but deliver it as follows:

/etc/security/auth_addr:        etc/security/auth_addr.d/$(PKGNAME)
/etc/security/exec_attr         etc/security/exec_attr.d/$(PKGNAME)
/etc/security/prof_attr         etc/security/prof_attr.d/$(PKGNAME)
/etc/user_attr                  etc/user_attr.d/$(PKGNAME)

and set the the following attribute on the fragment:

restart_fmri=svc:/system/rbac

so that the rbac service will update the config files when the package
is added to a running image.  The rbac service runs at boot and updates
the system config files w/ any new files it finds...

Of course, if you're delivering svr4 packages into the WOS, this is
taken care of for you by the importer scripts...

- Bart



--
Bart Smaalders                  Solaris Kernel Performance
[email protected]         http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to