2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 #include <afsconfig.h>
11 #include <afs/param.h>
17 # include <sys/cred.h>
18 # ifdef HAVE_SYS_PAG_H
27 #include <afs/sys_prototypes.h>
29 #include "AFS_component_version_number.c"
32 main(int argc, char *argv[])
36 char *shell = "/bin/sh";
40 * The following signal action for AIX is necessary so that in case of a
41 * crash (i.e. core is generated) we can include the user's data section
42 * in the core dump. Unfortunately, by default, only a partial core is
43 * generated which, in many cases, isn't too useful.
47 sigemptyset(&nsa.sa_mask);
48 nsa.sa_handler = SIG_DFL;
49 nsa.sa_flags = SA_FULLDUMP;
50 sigaction(SIGSEGV, &nsa, NULL);
56 fprintf(stderr, "Intruder alert.\n");
58 /* shell = pwe->pw_shell; */
63 #ifdef AFS_KERBEROS_ENV
71 fprintf(stderr, "No shell\n");