How to give everyone sudo permission on all nodes in HPC cluster
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
0
I have a 100 node CentOS 7.5 HPC cluster and I want to give everyone permission to run a script owned by root on all nodes, /usr/sbin/dropcaches.sh Logging into all 100 nodes and doing visudo would be extremely painful and prone to mistakes. Is it possible to create a file in /etc/sudoers.d on the head node and just cp it to every node in the cluster that gives everyone permission to execute /usr/sbin/dropcaches.sh please? Many thanks M
cluster-computing sudo hpc sudoers
share | improve this question