Enabling RBAC from Non-Root User

Hi
I have logged into my system with a non-root user credentials. I have also checked the RBAC status with "gradm -S". It says
Now I have given "gradm -E" to unable RBAC. I am getting the following error.
I need to log into root to enable or disable RBAC. But my requirement is to be able to enable and disable RBAC from any user ( root or non-root) Please do let me know what I need to resolve this.
Thanks
Skylearner
PS : I have added "G" in the role mode for this user
I have logged into my system with a non-root user credentials. I have also checked the RBAC status with "gradm -S". It says
- Code: Select all
[user1@osndev6 dev]$ gradm -S
The RBAC system is currently disabled.
Now I have given "gradm -E" to unable RBAC. I am getting the following error.
- Code: Select all
[user1@osndev6 dev]$ gradm -E
Error changing directory to /etc/grsec
Error: Permission denied
I need to log into root to enable or disable RBAC. But my requirement is to be able to enable and disable RBAC from any user ( root or non-root) Please do let me know what I need to resolve this.
Thanks
Skylearner
PS : I have added "G" in the role mode for this user