Hi all, I'd like to unsubscribe from this list but can't see to figure out how. Thoughts?
On Friday, April 04, 2014 at 4:13 AM, "Jim Klimov" <[email protected]> wrote: > >On 2014-04-04 09:33, Gabriele Bulfon wrote: >> Hi, >> >> is there any correct way to add a user and set his user_attr >through a >> pkg manifest user action? >> I see that default user_attr is setup via SUNWcs directly >delivering the >> file, e.g. manifest for netadm >> only add the user/group but does not set up rbac. >> >> I need it during installation of LightDM package, that will >create the >> lightdm user and run login manager >> with that user. That user also need to have shutdown >authorization. >> I don't think it's nice to have an svc for this.... > >Take a look at zfs-auto-snapshot package (i.e. the original >scripts) >as an inspirational example? Possibly the modern time-slider also >has the same logic - to deliver indeed an SMF service to create the >user account with privileges to create/delete snapshots. You might >want to create a self-destructing or at least a self-disabling SMF >service, which would no longer run after a successful >initialization. > >But regarding your with for no-service approach, this is not >exactly >a solution you seek... so I'd be interested to know alternatives >too ;) > >//Jim > > > >------------------------------------------- >illumos-discuss >Archives: https://www.listbox.com/member/archive/182180/=now >RSS Feed: >https://www.listbox.com/member/archive/rss/182180/25880516-cd918c6f >Modify Your Subscription: >https://www.listbox.com/member/?& >16-0390ace1 >Powered by Listbox: http://www.listbox.com ------------------------------------------- illumos-discuss Archives: https://www.listbox.com/member/archive/182180/=now RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be Modify Your Subscription: https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4 Powered by Listbox: http://www.listbox.com
