entrance: the client is now launched with restricted access (nobody user)

This commit is contained in:
Michael Bouchaud 2014-03-20 00:45:32 +00:00
parent 847ac65b7e
commit d8d2b6e04f
1 changed files with 1 additions and 0 deletions

View File

@ -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);