Re: root/ host/ <uid 0 service like nfs>/ ?!?

Nico Williams <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.heimdal.general
Message-ID <CAK3OfOgoNgry0efdbGNN8Y-Fe1OHLHZBxQdDbdbH-qQSxftCCQ@mail.gmail.com>
On Tue, Oct 4, 2011 at 4:09 PM, Harry Coin <[email protected]> wrote:
> Is there a settled intention or reference for the nuances among 'uid 0
> principals'?
>
> Though I don't see it set forth as such, my sense is that for principals:
>
> root/<fqdn>@REALM is intended to mean a person logged in and issuing
> commands as local uid 0 / root on <fqdn>.
>
> <other-than-host>/<fqdn>@REALM is intended to be the name of a
> daemon/service/non-person-with-at-least-one-process-id, possibly with uid:0,
> running on <fqdn>.  Viz: nfs4 server/0.  ldap uid varies *bsd/*nix, etc.
>
> host/<fqdn>@REALM is intended to be a 'catch all' principal for all uid:0
> services running on <fqdn> that, well, what?  Missed the memo above?   Got
> it correct? What?
>
> Is there consensus about what 'best practice' is in this regard?

Not really.

Here's what Solaris does when an euid == 0 process wades into a secure
NFS share:

 - if there's root/hostname.fqdn, use that
 - else if there's host/hostname.fqdn, use that

I forget the details.

Also, Solaris uses the automount triggering process' GSS credentials,
so you don't have to have host credentials just to do mounts.

Nico
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.