Notes from a Carbon Based Life Form
thoughts, opinions, and drivel. 100% free, guaranteed.

20060912 Tuesday September 12, 2006

RTFM: Setting the time and date from a local zone.

So. It turns out I went to a lot of needless-overly-complicated-thought-process-work figuring out a way for a local zone to login to a global zone and run a command, within an RBAC profile to automatically set the date and time of a Global Zone.

If only I had just done this:

global# zonecfg -z localzone
zonecfg:localzone> set limitpriv="default,sys_time"
zonecfg:localzone> commit
zonecfg:localzone> exit

I would then have been all set to just run `ntpdate` or something to set the date/time from the localzone.

RTFM really has it's place. Something I should do more often, I guess.

At least my last experience was good some usefull experience that I've been able to re-use that's not related to setting the time and date, but rather giving people limited access to run specific pre-configured commands in the global zone, from the local zone, without having an account on the global zone, and without opening the global zone to any overt risk.

Posted by tkblog ( Sep 12 2006, 05:22:29 AM EDT ) Permalink

Comments:

Post a Comment:

Comments are closed for this entry.

Archives
Language
Links
Referrers