5 次代码提交 bc1dc97b6b ... 621e91d31a

作者 SHA1 备注 提交日期
  Sven Velt 621e91d31a Decode byte strings to UTF-8 5 年之前
  Sven Velt 92c878cc8f 2to3, interpreter changed 5 年之前
  Sven Velt 62e46ef47e Added "lib64" to example regexp (for RedHat/Fedora) 5 年之前
  Sven Velt bc1dc97b6b Decode byte strings to UTF-8 5 年之前
  Sven Velt f09bfba862 2to3, interpreter changed 5 年之前
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      ssh-wrapper.py

+ 3 - 3
ssh-wrapper.py

@@ -21,9 +21,9 @@ allowed = [
 		##### Simplified/combined (and a little bit less secure)
 
 		### most Linux distributions (with "sudo" and "doas")
-		# r'^/usr/lib/(nagios/plugins|monitoring-plugins)/check_',
-		# r'^sudo\s+/usr/lib/(nagios/plugins|monitoring-plugins)/check_',
-		# r'^doas\s+/usr/lib/(nagios/plugins|monitoring-plugins)/check_',
+		# r'^/usr/lib(64)?/(nagios/plugins|monitoring-plugins)/check_',
+		# r'^sudo\s+/usr/lib(64)?/(nagios/plugins|monitoring-plugins)/check_',
+		# r'^doas\s+/usr/lib(64)?/(nagios/plugins|monitoring-plugins)/check_',
 
 		### *BSD (with "sudo" and "doas")
 		# r'^/usr/local/libexec/nagios/check_',