This is script game fromt the book Unix System Security I took the scripts and edited it a little bit
#include <stdio.h>
#include <signal.h>
main ()
{
char passbuf[10], *passwd, *getpass ();
int sleepcount = 1;
int validentry = 0;
while ( ! validentry) {
strcpy (passbuf, getpass ("Enter password: "));
if ( strlen (passbuf) < 4)
printf("Please enter at least four characters\n");
else
validentry = 1;
}
signal(SIGINT, SIG_IGN);
signal(SIGQUIT, SIG_IGN);
printf("\n\n\n\n\n");
printf("\t\t*************************************\n");
printf("\t\t* *\n");
printf("\t\t* *\n");
printf("\t\t* TERMINAL SECURED *\n");
printf("\t\t* *\n");
printf("\t\t* *\n");
printf("\t\t* *\n");
printf("\t\t* *\n");
printf("\t\t*************************************\n");
printf("\n\n\n\n\n");
validentry = 0;
while ( ! validentry){
passwd …
killswitch14computer ~ May 25
what does it do