diff --git a/files/common/etc/logrotate.d/sudo-log b/files/common/etc/logrotate.d/sudo-log new file mode 100644 index 000000000..b0510844a --- /dev/null +++ b/files/common/etc/logrotate.d/sudo-log @@ -0,0 +1,7 @@ +/var/log/sudo.log { + weekly + rotate 4 + compress + missingok + notifempty +} diff --git a/files/common/etc/sudoers.d/delphix b/files/common/etc/sudoers.d/delphix index a350907f7..09b5bf5db 100644 --- a/files/common/etc/sudoers.d/delphix +++ b/files/common/etc/sudoers.d/delphix @@ -1,6 +1,3 @@ -# -# Copyright 2018 Delphix -# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -15,3 +12,5 @@ # delphix ALL=(ALL) NOPASSWD:ALL +Defaults use_pty +Defaults logfile=/var/log/sudo.log