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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user