Page Menu
Home
VyOS Platform
Search
Configure Global Search
Log In
Files
F119063156
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
746 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/debian/vyos-1x.install b/debian/vyos-1x.install
index eb19dafeb..d8388eecc 100644
--- a/debian/vyos-1x.install
+++ b/debian/vyos-1x.install
@@ -1,7 +1,8 @@
etc/dhcp
etc/init.d
+etc/rsyslog.d
etc/systemd
etc/vyos
lib/
opt/
usr/
diff --git a/src/etc/rsyslog.d/sudo.conf b/src/etc/rsyslog.d/sudo.conf
new file mode 100644
index 000000000..589651f87
--- /dev/null
+++ b/src/etc/rsyslog.d/sudo.conf
@@ -0,0 +1,9 @@
+# Isolating sudo messages from syslog
+#
+# https://debian-administration.org/article/676/Isolating_sudo_messages_from_syslog
+
+# match if "program name" is equal to "sudo"
+:programname, isequal, "sudo" -/var/log/auth.log
+
+# if we matched this causes the input to be swallowed, preventing further logging.
+& ~
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Nov 6, 8:04 AM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4653328
Default Alt Text
(746 B)
Attached To
Mode
rVYOSONEX vyos-1x
Attached
Detach File
Event Timeline
Log In to Comment