Skip to content

Commit 9c308bb

Browse files
authored
DLPX-86537 CIS: sudoers configuration (#498)
* DLPX-86537 CIS: sudoers configuration PR URL: https://www.github.com/delphix/delphix-platform/pull/498 * DLPX-86537 Moved changes to files of etc folder * DLPX-86537 removed copyrights from the configuration files
1 parent 9e78010 commit 9c308bb

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

files/common/etc/logrotate.d/sudo-log

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/var/log/sudo.log {
2+
weekly
3+
rotate 4
4+
compress
5+
missingok
6+
notifempty
7+
}

files/common/etc/sudoers.d/delphix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#
2-
# Copyright 2018 Delphix
3-
#
41
# Licensed under the Apache License, Version 2.0 (the "License");
52
# you may not use this file except in compliance with the License.
63
# You may obtain a copy of the License at
@@ -15,3 +12,5 @@
1512
#
1613

1714
delphix ALL=(ALL) NOPASSWD:ALL
15+
Defaults use_pty
16+
Defaults logfile=/var/log/sudo.log

0 commit comments

Comments
 (0)