From e138436bd1943587e16b03505f8b8cc0307c4211 Mon Sep 17 00:00:00 2001 From: "Richard A Nelson (Rick)" Date: Thu, 25 May 2000 17:00:00 -0500 Subject: Imported Debian patch 8.9.3-23 --- debian/patches/patch.DOS | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 debian/patches/patch.DOS (limited to 'debian/patches/patch.DOS') diff --git a/debian/patches/patch.DOS b/debian/patches/patch.DOS new file mode 100644 index 0000000..7b595b9 --- /dev/null +++ b/debian/patches/patch.DOS @@ -0,0 +1,21 @@ +--- main.c~orig Sat Jan 9 15:31:13 1999 ++++ main.c Wed Nov 17 19:04:44 1999 +@@ -984,6 +984,18 @@ + usrerr("Permission denied"); + finis(FALSE, EX_USAGE); + } ++ if (OpMode == MD_INITALIAS && ++ RealUid != 0 && ++ RealUid != TrustedUid && ++ !wordinclass(RealUserName, 't')) ++ { ++ if (LogLevel > 1) ++ sm_syslog(LOG_ALERT, NOQID, ++ "user %d attempted to rebuild the alias map", ++ RealUid); ++ usrerr("Permission denied"); ++ finis(FALSE, EX_USAGE); ++ } + + if (MeToo) + BlankEnvelope.e_flags |= EF_METOO; -- cgit v1.2.3