Enabling or disabling sudo
Enabling sudo requires a sudo-capable user (gpfsadmin) to be added to
all nodes which are a part of or which are going to be a part of an IBM Storage Scale
System cluster. Sudo must be enabled for management server
and I/O server nodes by using the sudo sub-command of the
essrun command.
Enabling sudo on IBM Storage Scale System
# essrun -N nodeList sudo enableThis command creates the gpfsadmin
Linux user and gpfs
Linux group on the node and performs all necessary sudoers
set up. For detailed information, see the /etc/sudoers.d/ess_sudoers file.
User can now log in to the node server using the gpfsadmin user and they can
perform GPFS administration tasks.
Make sure that the sudo sub-command is run on all GPFS nodes (management
server node, I/O server nodes, and any client nodes) as part of the cluster to be completely
compliant with the sudo requirement. Change the node name in the sudo sub-command
accordingly. Enabling sudo also allows the gpfsadmin user to administer xCAT and
the GPFS GUI on the management server node.
Disabling sudo on IBM Storage Scale System
# essrun -N nodeList sudo disableDisabling sudo reverts the xCAT policy table to its previous state, deletes
/etc/sudoers.d/ess_sudoers file, and deletes the gpfsadmin
user from the Linux node. Make sure that you have disabled
sudo user configuration on all GPFS nodes (management server node, I/O server nodes, and any client
nodes) as part of the cluster to be completely compliant with the sudo requirement. Change the node
name in the sudo sub-command accordingly.
Enabling root access on IBM Storage Scale System
# essrun -N nodeList sudo enable_root --sudo-password YourSudoPasswordDisabling root access on IBM Storage Scale System
# essrun -N nodeList sudo disable