This commit was generated by cvs2svn to compensate for changes in r53696,

which included commits to RCS files with non-trunk default branches.
This commit is contained in:
peter 1999-11-25 18:03:05 +00:00
commit f1034aa494

View File

@ -984,6 +984,18 @@ main(argc, argv, envp)
usrerr("Permission denied"); usrerr("Permission denied");
finis(FALSE, EX_USAGE); 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) if (MeToo)
BlankEnvelope.e_flags |= EF_METOO; BlankEnvelope.e_flags |= EF_METOO;