We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feaa855 commit fbf30ecCopy full SHA for fbf30ec
build_debian.sh
@@ -424,6 +424,10 @@ LogsDirectory=audit
424
LogsDirectoryMode=0750
425
EOF
426
427
+# latest tcpdump control resource access with AppArmor.
428
+# override tcpdump profile to allow tcpdump access TACACS config file.
429
+sudo cp files/apparmor/usr.bin.tcpdump $FILESYSTEM_ROOT/etc/apparmor.d/local/usr.bin.tcpdump
430
+
431
if [[ $CONFIGURED_ARCH == amd64 ]]; then
432
## Pre-install the fundamental packages for amd64 (x86)
433
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install \
files/apparmor/usr.bin.tcpdump
@@ -0,0 +1,2 @@
1
+# tcpdump will call getpwnam get current user information, the NSS plugin nss_tacplus hook this API and need access tacacs config file.
2
+/etc/tacplus_nss.conf r,
0 commit comments