Removing home directory creation for user cynara 55/28355/2
authorJosé Bollo <jose.bollo@open.eurogiciel.org>
Fri, 3 Oct 2014 12:00:06 +0000 (14:00 +0200)
committerLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Mon, 6 Oct 2014 09:40:43 +0000 (02:40 -0700)
Cynara should not create a home directory.
If it must, specific options have to be providen
that explicitely should set the home directory
not in /home and should use a specific skeleton.

Change-Id: I296a5856fbae399944b41babf5ebb89a1f0f93eb
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
packaging/cynara.spec

index 2977e5c..4d1c960 100644 (file)
@@ -255,7 +255,7 @@ fi
 
 id -u %{user_name} > /dev/null 2>&1
 if [ $? -eq 1 ]; then
-    useradd -m %{user_name} -r > /dev/null 2>&1
+    useradd %{user_name} -r > /dev/null 2>&1
 fi
 
 %post