aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-01-22 15:15:38 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-01-22 15:15:38 +0000
commit322628519e2fba8e20e5b5e7bc8412536193921d (patch)
treeb843ee6d7f9d5b335d6928f8fd3a4ba82f1a02c9 /etc
parent93dee74a5d9d4e769a73da8a3ff732e7628d11c7 (diff)
downloadsrc-322628519e2fba8e20e5b5e7bc8412536193921d.tar.gz
src-322628519e2fba8e20e5b5e7bc8412536193921d.zip
Reincarnate SETUID code in man(1), not compiled in by default.
The code will be fixed for all known security vulnerabilities, and a make.conf(5) knob (ENABLE_SUID_MAN) will be provided for those who still want it installed setuid for whatever reasons.
Notes
Notes: svn path=/head/; revision=89653
Diffstat (limited to 'etc')
-rw-r--r--etc/mtree/BSD.local.dist8
-rw-r--r--etc/mtree/BSD.usr.dist8
-rw-r--r--etc/mtree/BSD.x11-4.dist4
-rw-r--r--etc/mtree/BSD.x11.dist4
4 files changed, 17 insertions, 7 deletions
diff --git a/etc/mtree/BSD.local.dist b/etc/mtree/BSD.local.dist
index 43b5ea2f43ca..2b9f19117e63 100644
--- a/etc/mtree/BSD.local.dist
+++ b/etc/mtree/BSD.local.dist
@@ -40,6 +40,7 @@
libexec
..
man
+/set uname=man
cat1
..
cat2
@@ -62,7 +63,7 @@
..
catn
..
- de.ISO8859-1
+ de.ISO8859-1 uname=root
cat1
..
cat2
@@ -85,6 +86,7 @@
..
catn
..
+/set uname=root
man1
..
man2
@@ -109,6 +111,7 @@
..
..
en.ISO8859-1
+/set uname=man
cat1
..
cat1aout
@@ -142,7 +145,7 @@
catn
..
..
- ja
+ ja uname=root
cat1
..
cat2
@@ -165,6 +168,7 @@
..
catn
..
+/set uname=root
man1
..
man2
diff --git a/etc/mtree/BSD.usr.dist b/etc/mtree/BSD.usr.dist
index 14b5deec167f..d65480e45ba5 100644
--- a/etc/mtree/BSD.usr.dist
+++ b/etc/mtree/BSD.usr.dist
@@ -645,6 +645,7 @@
..
..
man
+/set uname=man
cat1
..
cat1aout
@@ -677,7 +678,7 @@
..
catn
..
- en.ISO8859-1
+ en.ISO8859-1 uname=root
cat1
..
cat1aout
@@ -711,7 +712,7 @@
catn
..
..
- ja
+ ja uname=root
cat1
..
cat2
@@ -732,6 +733,7 @@
..
catn
..
+/set uname=root
man1
..
man2
@@ -968,7 +970,7 @@
..
perl
man
- cat3
+ cat3 uname=man
..
man3
..
diff --git a/etc/mtree/BSD.x11-4.dist b/etc/mtree/BSD.x11-4.dist
index b10b0011cf8b..dca7d089a98c 100644
--- a/etc/mtree/BSD.x11-4.dist
+++ b/etc/mtree/BSD.x11-4.dist
@@ -314,6 +314,7 @@
libexec
..
man
+/set uname=man
cat1
..
cat2
@@ -336,7 +337,7 @@
..
catn
..
- ja
+ ja uname=root
cat1
..
cat2
@@ -359,6 +360,7 @@
..
catn
..
+/set uname=root
man1
..
man2
diff --git a/etc/mtree/BSD.x11.dist b/etc/mtree/BSD.x11.dist
index 81ddaedca8c2..ef3378153cba 100644
--- a/etc/mtree/BSD.x11.dist
+++ b/etc/mtree/BSD.x11.dist
@@ -196,6 +196,7 @@
libexec
..
man
+/set uname=man
cat1
..
cat2
@@ -218,7 +219,7 @@
..
catn
..
- ja
+ ja uname=root
cat1
..
cat2
@@ -241,6 +242,7 @@
..
catn
..
+/set uname=root
man1
..
man2