blob: aa6fce9ce2fcf1c6fd0ceb73da1993f3d826b6e7 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/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
|