Tips and tricks: Can I use a non-admin user account on my APC power supply for Red Hat Cluster Suite fencing?
by the editorial team
No, the fence_apc script requires that the admin user (typically called apc) be used for fencing. Regular users have a different menu interface than the admin user and the fencing agent is incompatible with this interface.
To avoid exposing the admin password in the cluster configuration file, a password script can be used. This script needs execute permissions for root only preventing others from reading or executing it. The script can be as simple as:
#!/bin/bash echo "mypassword"
Once it is in place, use system-config-cluster or Conga to edit the fence device properties. There is an option to specify a password script instead of the clear text password.






