mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Move set_perms() to its own file and use POSIX saved uid or setreuid()
if available. Added stay_setuid option for systems that have libraries that perform extra paranoia checks in system libraries for setuid programs (ie: anything with issetugid(2)).
This commit is contained in:
@@ -202,6 +202,9 @@ struct sudo_defs_types sudo_defs_table[] = {
|
||||
}, {
|
||||
"set_logname", T_FLAG,
|
||||
"Set the LOGNAME and USER environment variables"
|
||||
}, {
|
||||
"stay_setuid", T_FLAG,
|
||||
"Only set the effective uid to the target user, not the real uid"
|
||||
}, {
|
||||
"loglinelen", T_INT|T_BOOL,
|
||||
"Length at which to wrap log file lines (0 for no wrap): %d"
|
||||
|
Reference in New Issue
Block a user