#include <syslog.h>
#include <pwd.h>

main()
{
	char *user_name;

	openlog("problem_account", LOG_NOWAIT, LOG_AUTH);
	user_name = getpwuid(getuid())->pw_name;
	syslog(LOG_CRIT, "problem-account message sent to %s", user_name);
	closelog();
	printf("Your account on charon has been turned off due to\n");
	printf("various problems. Please speak to the SIPB member who\n");
	printf("originally sponsored this account if you wish it turned\n");
	printf("back on.  Press return when you are finished\n");
	printf("reading this:");
	getchar();
}
      
