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 Wemm 1999-11-25 18:03:05 +00:00
commit 945d12af3b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53697

View File

@ -984,6 +984,18 @@ main(argc, argv, envp)
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;