RBAC profile problem for the root user
The profile of root user on some of our servers has changed recently for unknown reason. As a result, The root user is not able to run some commands any more:
# ldm list
Authorization failed
# mailq -Ac
No authorization to run mailq; see mailq(1) for details.
# profiles root
Basic Solaris User
# usermod -P "All" root
UX: usermod: ERROR: All is not a valid profile name. Choose another.
# usermod -P "Web Console Management" root
UX: usermod: ERROR: Web Console Management is not a valid profile name. Choose another.
# ls -l /etc/user_attr /etc/security/prof_attr
-rw-r--r-- 1 root sys 8339 Sep 4 2009 /etc/security/prof_attr