summaryrefslogtreecommitdiff
path: root/repo/ceph/ceph-user.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'repo/ceph/ceph-user.pre-install')
-rw-r--r--repo/ceph/ceph-user.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/repo/ceph/ceph-user.pre-install b/repo/ceph/ceph-user.pre-install
new file mode 100644
index 0000000..bae4f09
--- /dev/null
+++ b/repo/ceph/ceph-user.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup ceph -g 167 -S 2>/dev/null
+adduser ceph -u 167 -S -G ceph -s /sbin/nologin -h /var/lib/ceph -g "Ceph Daemons" 2> /dev/null
+exit 0