Issue #819 has been updated by Clément OUDOT.

Status changed from Assigned to Closed
% Done changed from 0 to 100


----------------------------------------
Bug #819: Created lsc user in debian package should be a system user
http://tools.lsc-project.org/issues/819

Author: Simon Piette
Status: Closed
Priority: Normal
Assigned to: Clément OUDOT
Category: Packaging
Target version: 2.2
Problem in version: 


<pre>
diff --git a/src/install/debian/lsc.postinst b/src/install/debian/lsc.postinst
index de7e288..09b68d2 100644
--- a/src/install/debian/lsc.postinst
+++ b/src/install/debian/lsc.postinst
@@ -4,7 +4,7 @@ lsc_logdir=/var/log/lsc
 lsc_user=lsc
 lsc_group=lsc
 
-id ${lsc_user} &>/dev/null || useradd ${lsc_user}
+id ${lsc_user} &>/dev/null || adduser --quiet --system --no-create-home --home 
/var/lib/lsc ${lsc_user}
 
 # Always do this
 mkdir -p ${lsc_logdir}
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to