Permalink
Browse files

Create proper user

  • Loading branch information...
1 parent 0fe51db commit 2a22aa97194fae97cfc324fc4677281d9d19010b @viglesiasce viglesiasce committed Feb 22, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 eucalyptus-imaging-worker.spec
@@ -59,9 +59,9 @@ chmod 0640 $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/imaging-worker
rm -rf $RPM_BUILD_ROOT
%pre
-getent passwd worker >/dev/null || \
+getent passwd imaging-worker >/dev/null || \
useradd -d %{_var}/lib/imaging-worker \
- -M -s /sbin/nologin worker
+ -M -s /sbin/nologin imaging-worker
# Stop running services for upgrade
if [ "$1" = "2" ]; then

0 comments on commit 2a22aa9

Please sign in to comment.