Quickly Grant User Access to Cluster Commands
Introduction
We often need users to have access to specific commands without being root, and for cluster management, if you have dedicated administrators, it's quite useful. Here's a simple way to give them the necessary permissions...
Configuration
To give a user permissions to simply use cluster commands, here are the files to modify:
- /etc/sudoers:
- ~/.bashrc (for the user)
Usage
With my user account, I can simply run the commands and they will be executed as root: