From: František Dvořák Date: Wed, 31 Dec 2014 12:27:19 +0000 (+0100) Subject: Shell for rocci user not needed. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=d656caeb32c23a71a2cf477686bbb08394c32356;p=rOCCI-packaging-fedora.git Shell for rocci user not needed. --- 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