yoz pushed a commit to branch master.

http://git.enlightenment.org/misc/entrance.git/commit/?id=d8d2b6e04fa1b01653e71d88c450bc480a8b22ca

commit d8d2b6e04fa1b01653e71d88c450bc480a8b22ca
Author: Michael Bouchaud <y...@efl.so>
Date:   Thu Mar 20 00:45:32 2014 +0000

    entrance: the client is now launched with restricted access (nobody user)
---
 src/daemon/entrance.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/daemon/entrance.c b/src/daemon/entrance.c
index 6b3581c..5922bb8 100644
--- a/src/daemon/entrance.c
+++ b/src/daemon/entrance.c
@@ -155,6 +155,7 @@ _entrance_main(const char *dname)
              ecore_event_handler_add(ECORE_EXE_EVENT_DEL,
                                      _entrance_client_del, NULL);
              snprintf(buf, sizeof(buf),
+                      "sudo -u nobody "
                       PACKAGE_BIN_DIR"/entrance_client -d %s -t %s",
                       dname, entrance_config->theme);
              PT("Exec entrance_client: %s\n", buf);

-- 


Reply via email to