From d656caeb32c23a71a2cf477686bbb08394c32356 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Wed, 31 Dec 2014 13:27:19 +0100 Subject: [PATCH] Shell for rocci user not needed. --- rOCCI-server.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rOCCI-server.spec b/rOCCI-server.spec index 3e66a20..d9f2369 100644 --- a/rOCCI-server.spec +++ b/rOCCI-server.spec @@ -211,7 +211,8 @@ install -p -m 0644 examples/etc/apache2/conf.d/security %{buildroot}%{_sysconfdi %pre getent group rocci >/dev/null || groupadd -r rocci -getent passwd rocci >/dev/null || useradd -r -g rocci -d %{app_root} -c "rOCCI user" rocci +getent passwd rocci >/dev/null || \ + useradd -r -g rocci -d %{app_root} -s /sbin/nologin -c "rOCCI user" rocci %post if [ "$1" -le "1" ] ; then # First install -- 1.8.2.3