See uadmin(2)
(And also <sys/uadmin.h>)
chad
> I'm looking to duplicate 'init 5' functionality on solaris x86.
> I figure I'll have to write a driver to support motherboard
> poweroff.
> But I'm starting by looking through the rc scripts on sparc,
> to see what I
> should write hooks for.
> Except it seems to be magic.
> inittab says it uses "rc5".
> but /sbin/rc5 is IDENTICAL to /sbin/rc6, even on sparc.
> So.. what triggers actual poweroff?
chad at radix dot net