Ignoring an user by name, and not telling about it in manual page, is
unexpected.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
#include "fileutils.h"
#include "closestream.h"
-#define IGNOREUSER "sleeper"
#define WRITE_TIME_OUT 300 /* in seconds */
/* Function prototypes */
iov.iov_base = mbuf;
iov.iov_len = mbufsize;
while((utmpptr = getutent())) {
- if (!utmpptr->ut_name[0] ||
- !strncmp(utmpptr->ut_name, IGNOREUSER,
- sizeof(utmpptr->ut_name)))
+ if (!utmpptr->ut_name[0])
continue;
#ifdef USER_PROCESS
if (utmpptr->ut_type != USER_PROCESS)