summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--src/core/execute.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/TODO b/TODO
index bdfbffbbf0..8addd6e291 100644
--- a/TODO
+++ b/TODO
@@ -28,8 +28,6 @@ F18:
* Retest multi-seat
-* selinux: merge systemd selinux access controls (dwalsh)
-
Features:
* instantiated target units
diff --git a/src/core/execute.c b/src/core/execute.c
index 6e2b5e48a0..cb703cbad8 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -1283,7 +1283,7 @@ int exec_spawn(ExecCommand *command,
umask(context->umask);
#ifdef HAVE_PAM
- if (context->pam_name && username) {
+ if (apply_permissions && context->pam_name && username) {
err = setup_pam(context->pam_name, username, uid, context->tty_path, &pam_env, fds, n_fds);
if (err < 0) {
r = EXIT_PAM;