![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||
Solution Type Problem Resolution Sure Solution 1547333.1 : XSCF commands fail with 'Permission denied' error message
Unable to execute various XSCF commands: XSCF> console -d 0 Permission denied. In this Document
Created from <SR 3-7071392241> Applies to:Sun SPARC Enterprise M8000 Server - Version All Versions to All Versions [Release All Releases]Sun SPARC Enterprise M9000-32 Server - Version All Versions to All Versions [Release All Releases] Sun SPARC Enterprise M5000 Server - Version All Versions to All Versions [Release All Releases] Sun SPARC Enterprise M4000 Server - Version All Versions to All Versions [Release All Releases] Oracle Solaris on SPARC (64-bit) SymptomsWhen attempting to run various commands on the XSCF an error message may report 'Permission denied': Example
XSCF> console -d 0 Permission denied. CauseThis indicates that the current user account doesn't have the privileges to execute the command. The privileges required to execute a specific command are listed in the command's man page. For example: XSCF> man console <snip> Privileges To execute the console command you need platadm, platop or fieldeng or domainadm, domainmgr or domainop if the account is restricted to accessing certain domains. You don't need any privileges to run the man command. To check the current user's privileges execute the showuser -p command: XSCF> showuser -p
User Name: platadm Privileges: None in the above example the current user platadm has no privileges. This situation can occur when a user executes setprivileges against a user account with no other parameters: Example, DO NOT RUN THIS COMMAND
XSCF> setprivileges platadm Local privilege list for platadm has been cleared. After this has been run, that user account won't be able to execute any privileged commands such as console. Significantly, to resolve this issue the privileges for this account need to be reinstated, which requires executing setprivileges, but the current user, platadm, no longer has the useradm privilege required to run this command: XSCF> setprivileges platadm useradm platop platadm mode fieldeng auditadm
Permission denied. SolutionIf you can access the XSCF using another normal account with the useradm privilege you can reinstate the privilieges: XSCF> setprivileges platadm useradm platop platadm mode fieldeng auditadm
Permission denied. If cannot access the XSCF using another normal account, you will need to login as the default user. This requires physical access to the platform.
References<NOTE:1297895.1> - Sun SPARC(R) Enterprise M3000/M4000/M5000/M8000/M9000 (OPL) Servers: How to reset XSCF passwordSPARC Enterprise M3000/M4000/M5000/M8000/M9000 Servers Administration Guide E21618 Attachments This solution has no attachment |
||||||||||||||||||
|