Hi Bart!
On 5 okt 2009, at 20:46, Bart Smaalders wrote:
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...
Thanks! That helps a lot.
I think it would be nice if one could just define a role by just using:
add role ... (instead of add user)
Of course, if you're delivering svr4 packages into the WOS, this is
taken care of for you by the importer scripts...
I'm rolling my own packages to deliver 3rd party stuff into Web
Engineering systems, so I need to manage on my own :)
cheers,
/Martin
--
Martin Englund, Security Engineer, Web Engineering, Sun Microsystems
Inc.
Email: [email protected] Time Zone: GMT+1 PGP: 1024D/AA514677
"The question is not if you are paranoid, it is if you are paranoid
enough."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss