Shell for rocci user not needed.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 31 Dec 2014 12:27:19 +0000 (13:27 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 31 Dec 2014 12:27:19 +0000 (13:27 +0100)
rOCCI-server.spec

index 3e66a20..d9f2369 100644 (file)
@@ -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