-/* $OpenBSD: comsat.c,v 1.40 2015/07/06 15:42:20 millert Exp $ */
+/* $OpenBSD: comsat.c,v 1.41 2015/10/09 17:07:21 deraadt Exp $ */
/*
* Copyright (c) 1980, 1993
char visout[5], *s2;
FILE *fi;
int linecnt, charcnt, inheader;
- struct passwd *p;
char line[BUFSIZ];
- /* Set effective uid to user in case mail drop is on nfs */
- if ((p = getpwnam(name)) != NULL) {
- (void) seteuid(p->pw_uid);
- (void) setuid(p->pw_uid);
- }
-
if ((fi = fopen(name, "r")) == NULL)
return;