hacluster / haclient User Creation

Pacemaker tries to use hacluster:haclient when it doesn’t need root. So does Booth. Sometimes you may need to (re)create this user.

# getent group haclient >/dev/null || groupadd -r haclient -g 189
# getent passwd hacluster >/dev/null || \
   useradd -r -g haclient -u 189 -s /sbin/nologin -c "cluster user" hacluster

 

Reviewed 2020/12/14 - DGT