When attempting to run dcmctl commands or during failover operations in Smarts, the system returns a "Permission denied" error. This occurs after the admin user has been changed to a read-only role (e.g., "Monitor") in the configuration files.
dcmctl or dmctl returns: Login to Domain Manager failed; permission denied.The admin user account is utilized by backend Smarts processes for essential inter-process communication (IPC). If the global admin user's privileges are restricted to Monitor (read-only) in the serverConnect.conf file, these backend processes lose the authority required to maintain server-to-server sessions, leading to broad permission denied errors across the environment.
To restrict end-user access without breaking backend services, you must retain administrative privileges for the internal admin account and create a separate account for restricted tasks.
Ensure the admin user has All privileges for IPC stability.
sm_edit to modify serverConnect.conf:admin entry to allow full access: *:admin:<encrypted_password>:AllConfigure a new user for manual CLI commands and console access.
sm_edit to add the new user (e.g., opsOperator) to the SAM console's clientConnect.conf file: *:*:opsOperator:<password>sm_edit to add the same user to the domain manager's serverConnect.conf with restricted privileges: *:opsOperator:<password>:Monitorsm_authority processes.