Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Unified Diff: remoting/host/installer/linux/debian/chrome-remote-desktop.init

Issue 2939263003: Add support for CRD user-session to operate setuid (Closed)
Patch Set: Refactor to reduce code run as root Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/installer/linux/debian/chrome-remote-desktop.init
diff --git a/remoting/host/installer/linux/debian/chrome-remote-desktop.init b/remoting/host/installer/linux/debian/chrome-remote-desktop.init
index b39f5d4e996f6b41cbe32db07acfe8611099ef47..da41f8d04241147b24577c87335053048f3ae1a5 100755
--- a/remoting/host/installer/linux/debian/chrome-remote-desktop.init
+++ b/remoting/host/installer/linux/debian/chrome-remote-desktop.init
@@ -62,7 +62,7 @@ run_and_ignore_error() {
# TODO(rkjnsn): Support starting user-initiated sessions with our PAM
# wrapper.
if [ "$(whoami)" = "root" ]; then
- "$USER_SESSION_PATH" --user="$user" --me2me-script="$HOST_PATH"
+ "$USER_SESSION_PATH" start "$user"
else
sudo -u "$user" --login --background "$HOST_PATH" --start
fi
« no previous file with comments | « no previous file | remoting/host/linux/remoting_user_session.cc » ('j') | remoting/host/linux/remoting_user_session.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698