Pkgadd seeing the wrong user id

From: Sun List (magnet@mailbag.com)
Date: Fri Oct 08 2004 - 18:37:13 EDT


I would like to install a package. When I run pkgadd, it claims I have an
effective uid of 60001 (nobody) even though I'm running as root:

You must be superuser to run this script!
Your current effective uid is 60001!
pkgadd: ERROR: request script did not complete successfully

It's Solaris 9, and as far as I can tell all the RBAC stuff is in order:

# roles root.

No roles
# profiles root
All
Basic Solaris User
# auths root
solaris.*

# egrep root /etc/user_attr
root::::auths=solaris.*,solaris.grant;profiles=All

# egrep pkgadd /etc/security/exec_attr
Software Installation:suser:cmd:::/usr/sbin/pkgadd:uid=0;gid=bin

# egrep -i software /etc/security/prof_attr
Software Installation:::Add application software to the
system:help=RtSoftwareInstall.html;auths=solaris.admin.prodreg.read,solaris.admin.prodreg.modify,solaris.admin.prodreg.delete,solaris.admin.dcmgr.admin,solaris.admin.dcmgr.read,solaris.admin.patchmgr.*

Before I pull out what's left of my hair, what am I missing here?
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:33 EDT