From c7d74402f32b738d3575b8957e677a75ceeb2603 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 21 Jan 2004 23:00:43 +0000 Subject: [PATCH] Add a new flag, -e, that makes it possible to give users the ability to edit files with the editor of their choice as the invoking user, not the runas user. Temporary files are used for the actual edit and the temp file is copied over the original after the editor is done. --- sudo.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sudo.h b/sudo.h index af18f6874..d51708ec9 100644 --- a/sudo.h +++ b/sudo.h @@ -113,6 +113,7 @@ struct sudo_user { #define MODE_IMPLIED_SHELL 004000 #define MODE_RESET_HOME 010000 #define MODE_PRESERVE_GROUPS 020000 +#define MODE_EDIT 040000 /* * Used with set_perms() -- 2.50.1