* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
"@(#) Copyright (c) 1980 Regents of the University of California.\n\
static char sccsid
[] = "@(#)whoami.c 5.1 (Berkeley) %G%";
struct passwd
*getpwuid();
register struct passwd
*pp
;
pp
= getpwuid(geteuid());
printf("Intruder alert.\n");
printf("%s\n", pp
->pw_name
);