2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Add support for controlling whether utmp is updated and which user is

listed in the entry.
This commit is contained in:
Todd C. Miller
2011-03-15 15:53:49 -04:00
parent cf7ec7a3cc
commit 3506f01077
12 changed files with 72 additions and 16 deletions

View File

@@ -338,6 +338,14 @@ struct sudo_defs_types sudo_defs_table[] = {
"iolog_file", T_STR,
"File in which to store the input/output log",
NULL,
}, {
"set_utmp", T_FLAG,
"Add an entry to the utmp/utmpx file when allocating a pty",
NULL,
}, {
"utmp_runas", T_FLAG,
"Set the user in utmp to the runas user, not the invoking user",
NULL,
}, {
NULL, 0, NULL
}