Hide Forgot
Description of problem: The ganesha-ha.sh script executes many commands and expects root privileges. In many enterprise environments, scripts are not supposed to run as root or surely not able to login over ssh as root. ganesha-ha.sh is no exception and should accommodate for running as non-root with sudo. Additional info: Chris Blum has hacked the script to run as non-root where the needed commands have been prefixed with 'sudo'. The environment was modified so that the non-root user could only execute particular commands.
Created attachment 1220832 [details] ganesha-ha-sudo.sh This is the script successfully used onsite, which enabled us to activate NFS-ganesha using the hacluster user (which is created and defined anyways during the NFS-ganesha setup) Obviously the sudoers file needs to be adjusted additionally...
storhaug
Don't see large demand for this, closing.