#!/bin/sh
#
# Install unprivileged user (and group) account for PCP daemons.
#

export PATH=/usr/sbin:$PATH
getent group pcp >/dev/null || groupadd pcp
getent passwd pcp >/dev/null || \
  useradd -c "Performance Co-Pilot" -g pcp -d /var/lib/pcp -s /usr/bin/false pcp
