Peter Tribble wrote: > On Sun, Oct 18, 2009 at 7:52 PM, Ron Halstead <[email protected]> wrote: > >> pfexec doesn't exist in Solaris 10, only in OpenSolaris (Indiana). Install >> sudo from sunfreeware.com and use it instead, sudo ifconfig ....... >> > > Rubbish, Solaris 10 has always had pfexec, and it works the same > way as it does in OpenSolaris. > > The difference is that the OpenSolaris installer, by default, sets up the > first user as primary Administrator. I've manually set up my account on > my home Solaris 10 box just the same, and it works just the same. >
Indeed. I haven't run S10 in a long while, but I know in CX:CE, "Primary Administrator" is not in prof_attr & exec_attr by default. Users should check. On SX:CE its actually added by a package that would seem unrelated (can't remember which at the moment); S10 is probly the same way: $ grep Primary /etc/security/prof_attr Primary Administrator:::Can perform all administrative tasks:auths=solaris.*,solaris.grant;help=RtPriAdmin.html If its not there, add it: echo "Primary Administrator:suser:cmd:::*:uid=0;gid=0" >> /etc/security/exec_attr echo "Primary Administrator:::Can perform all administrative tasks:auths=solaris.*,solaris.grant;help=RtPriAdmin.html" >> /etc/security/prof_attr benr. _______________________________________________ sysadmin-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss
